From 2734e9a3334db0304c07bd892a863db076c3a543 Mon Sep 17 00:00:00 2001 From: Dieter Verfaillie Date: Wed, 13 Feb 2013 17:23:10 +0100 Subject: giscanner: don't shadow built-in 'type' symbol use the documented __exit__ signature instead https://bugzilla.gnome.org/show_bug.cgi?id=697619 --- giscanner/libtoolimporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1