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:
parent
dabb4c06ca
commit
c624c4abaa
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue