mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
doc: wikiparser: Fix some flake8 warnings
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
f54e32ae7e
commit
c522583ecd
@ -1953,13 +1953,13 @@ if __name__ == '__main__':
|
||||
with in_file.open() as wiki_file:
|
||||
wiki_text = wiki_file.read()
|
||||
|
||||
context = get_context(in_file)
|
||||
parsed_wiki = parse_wiki(wiki_text, context,
|
||||
_context = get_context(in_file)
|
||||
parsed_wiki = parse_wiki(wiki_text, _context,
|
||||
begin_marker=arguments.begin_marker,
|
||||
end_marker=arguments.end_marker)
|
||||
if arguments.debug:
|
||||
import pprint
|
||||
pprint.pprint(parsed_wiki, indent=4)
|
||||
|
||||
doc_out = generate_docbook(parsed_wiki, context)
|
||||
doc_out = generate_docbook(parsed_wiki, _context)
|
||||
print(doc_out)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user