sepolicy: Fix syntax errors in 'manpage -w'

Fixes:
  File "python/sepolicy/sepolicy/manpage.py", line 373, in _gen_css
    print("%s has been created") % style_css
TypeError: unsupported operand type(s) for %: 'NoneType' and 'str'

Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
This commit is contained in:
Petr Lautrbach 2017-07-27 15:10:51 +02:00 committed by Stephen Smalley
parent dabb4c06ca
commit c624c4abaa
1 changed files with 2 additions and 2 deletions

View File

@ -333,7 +333,7 @@ Fedora or Red Hat Enterprise Linux Man Pages.</h2>
""" % domainname_body)
fd.close()
print("%s has been created") % html
print("%s has been created" % html)
def _gen_css(self):
style_css = self.old_path + "style.css"
@ -396,7 +396,7 @@ pre.code {
""")
fd.close()
print("%s has been created") % style_css
print("%s has been created" % style_css)
class ManPage: