makedocbook: Adjust inline whitespace to fix flake8 warnings

This commit is contained in:
Jon Turney 2022-11-01 11:35:51 +00:00
parent 2521dd48d8
commit 999925b253
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
2 changed files with 68 additions and 69 deletions

View File

@ -378,7 +378,6 @@ def synopsis_for_prototype(funcsynopsis, s):
# sscanf, have very complex layout using nested tables and itemized lists, which
# it is best to parse in order to transform correctly.
#
def refsect(t, s):
refsect = lxml.etree.SubElement(refentry, 'refsect1')
title = lxml.etree.SubElement(refsect, 'title')
@ -790,6 +789,7 @@ def p_multitable(p):
p[0] = '<informaltable><tgroup cols="' + str(len(colfrac)) + '">' + colspec + header + body + '</tgroup></informaltable>'
parser_verbose(p)
def p_error(t):
sys.exit('parse error at line %d, token %s, next token %s' % (t.lineno, t, parser.token()))
@ -831,7 +831,6 @@ def main(file):
#
#
#
if __name__ == '__main__':
options = OptionParser()
options.add_option('-v', '--verbose', action='count', dest='verbose', default=0)