summaryrefslogtreecommitdiff
path: root/giscanner/introspectablepass.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/introspectablepass.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/introspectablepass.py')
-rw-r--r--giscanner/introspectablepass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/introspectablepass.py b/giscanner/introspectablepass.py
index 3d67c73e..ac68b9f7 100644
--- a/giscanner/introspectablepass.py
+++ b/giscanner/introspectablepass.py
@@ -96,7 +96,7 @@ class IntrospectablePass(object):
if (is_parameter
and isinstance(target, ast.Callback)
- and not node.type.target_giname in ('GLib.DestroyNotify', 'Gio.AsyncReadyCallback')
+ and node.type.target_giname not in ('GLib.DestroyNotify', 'Gio.AsyncReadyCallback')
and node.scope is None):
self._parameter_warning(
parent,