Fix lint
This commit is contained in:
parent
688b9a57cb
commit
660b05899c
@ -55,6 +55,7 @@ def call_asciidoc(src, dst):
|
|||||||
|
|
||||||
|
|
||||||
def main(colors=False):
|
def main(colors=False):
|
||||||
|
"""Generate html files for the online documentation."""
|
||||||
utils.use_color = colors
|
utils.use_color = colors
|
||||||
asciidoc_files = [
|
asciidoc_files = [
|
||||||
('doc/FAQ.asciidoc', 'qutebrowser/html/doc/FAQ.html'),
|
('doc/FAQ.asciidoc', 'qutebrowser/html/doc/FAQ.html'),
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/python3 # vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
|
#!/usr/bin/python3
|
||||||
|
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
|
||||||
|
|
||||||
# Copyright 2014 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
|
# Copyright 2014 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
|
||||||
|
|
||||||
@ -48,6 +49,7 @@ term_attributes = {
|
|||||||
|
|
||||||
|
|
||||||
def _esc(code):
|
def _esc(code):
|
||||||
|
"""Get an ANSII color code based on a color number."""
|
||||||
return '\033[{}m'.format(code)
|
return '\033[{}m'.format(code)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user