31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
|
diff --git a/policycoreutils/sepolicy/sepolicy/manpage.py b/policycoreutils/sepolicy/sepolicy/manpage.py
|
||
|
index 09066d9..1765b1c 100755
|
||
|
--- a/policycoreutils/sepolicy/sepolicy/manpage.py
|
||
|
+++ b/policycoreutils/sepolicy/sepolicy/manpage.py
|
||
|
@@ -135,7 +135,7 @@ def prettyprint(f,trim):
|
||
|
manpage_domains = []
|
||
|
manpage_roles = []
|
||
|
|
||
|
-fedora_releases = ["Fedora17","Fedora18"]
|
||
|
+fedora_releases = ["Fedora17","Fedora18","Fedora19","Fedora20"]
|
||
|
rhel_releases = ["RHEL6","RHEL7"]
|
||
|
|
||
|
def get_alphabet_manpages(manpage_list):
|
||
|
@@ -152,14 +152,14 @@ def get_alphabet_manpages(manpage_list):
|
||
|
|
||
|
def convert_manpage_to_html(html_manpage,manpage):
|
||
|
try:
|
||
|
- subprocess.check_output("/usr/bin/groff -man -Thtml %s 2>/dev/null" % manpage,
|
||
|
+ man_page = subprocess.check_output("/usr/bin/groff -man -Thtml %s 2>/dev/null" % manpage,
|
||
|
stderr=subprocess.STDOUT,
|
||
|
shell=True)
|
||
|
except subprocess.CalledProcessError as e:
|
||
|
sys.stderr.write(e.output)
|
||
|
return
|
||
|
fd = open(html_manpage,'w')
|
||
|
- fd.write(output)
|
||
|
+ fd.write(man_page)
|
||
|
fd.close()
|
||
|
print(html_manpage)
|
||
|
|