summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2013-02-13 17:23:10 +0100
committerDieter Verfaillie <dieterv@optionexplicit.be>2013-04-09 23:13:36 +0200
commit2734e9a3334db0304c07bd892a863db076c3a543 (patch)
tree67268476fa9fd6107758ec4f602b0ec82b1d45b1
parent2806ee7c7db81be0ad164caf68b70163df24386d (diff)
downloadgobject-introspection-2734e9a3334db0304c07bd892a863db076c3a543.tar.gz
giscanner: don't shadow built-in 'type' symbol
use the documented __exit__ signature instead https://bugzilla.gnome.org/show_bug.cgi?id=697619
-rw-r--r--giscanner/libtoolimporter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/libtoolimporter.py b/giscanner/libtoolimporter.py
index 20bd0053..0d26b0c5 100644
--- a/giscanner/libtoolimporter.py
+++ b/giscanner/libtoolimporter.py
@@ -72,5 +72,5 @@ class LibtoolImporter(object):
sys.meta_path.append(cls)
@classmethod
- def __exit__(cls, type, value, traceback):
+ def __exit__(cls, exc_type, exc_val, exc_tb):
sys.meta_path.remove(cls)