summaryrefslogtreecommitdiff
path: root/giscanner/sourcescanner.py
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2015-04-21 21:53:07 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2015-06-29 16:59:36 +0200
commit2896dc4083accd92c4b80ef4d9972c2e2009bda2 (patch)
treeb1c5387735174df1248d59738fdd664d342a4bf7 /giscanner/sourcescanner.py
parentdea692d32ce1e5ce2f1fff27d322d34cd7841747 (diff)
downloadgobject-introspection-2896dc4083accd92c4b80ef4d9972c2e2009bda2.tar.gz
tests: Update misc/pep8.py to 1.6.2
Updated from: https://raw.githubusercontent.com/jcrocholl/pep8/1.6.2/pep8.py
Diffstat (limited to 'giscanner/sourcescanner.py')
-rw-r--r--giscanner/sourcescanner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/sourcescanner.py b/giscanner/sourcescanner.py
index 9a814213..15ced3f5 100644
--- a/giscanner/sourcescanner.py
+++ b/giscanner/sourcescanner.py
@@ -236,7 +236,7 @@ class SourceScanner(object):
('-U', undefines)]:
for arg in (args or []):
opt = prefix + arg
- if not opt in self._cpp_options:
+ if opt not in self._cpp_options:
self._cpp_options.append(opt)
def parse_files(self, filenames):