summaryrefslogtreecommitdiff
path: root/scripts/asciidoc2html.py
diff options
context:
space:
mode:
authorJan Verbeek <ring@openmailbox.org>2016-07-12 22:05:32 +0200
committerJan Verbeek <ring@openmailbox.org>2016-07-12 22:05:32 +0200
commitbbc46d28ffd8b680f1e5776171ba43b52628b986 (patch)
tree6ddb5840e833494c8572186a8eee4e1e5d892333 /scripts/asciidoc2html.py
parent46bdfa2932bc183311b4f0ec6ae413a9c0201fef (diff)
downloadqutebrowser-bbc46d28ffd8b680f1e5776171ba43b52628b986.tar.gz
qutebrowser-bbc46d28ffd8b680f1e5776171ba43b52628b986.zip
Use lists instead of tuples for comparing
Per one of the diff comments on #1597: > I used to use a tuple for constant things, but nowadays I'd actually > prefer a list as a tuple is something more heterogeneous (i.e. it > makes sense to have a `(x, y)` point as a tuple, but a list of points > would be a list). > At some point I should probably change it to a list everywhere :wink:
Diffstat (limited to 'scripts/asciidoc2html.py')
-rwxr-xr-xscripts/asciidoc2html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/asciidoc2html.py b/scripts/asciidoc2html.py
index 9bf1b1d87..d2234cc51 100755
--- a/scripts/asciidoc2html.py
+++ b/scripts/asciidoc2html.py
@@ -197,7 +197,7 @@ class AsciiDoc:
for filename in files:
basename, ext = os.path.splitext(filename)
if (ext != '.asciidoc' or
- basename in ('header', 'OpenSans-License')):
+ basename in ['header', 'OpenSans-License']):
continue
self._build_website_file(root, filename)