summaryrefslogtreecommitdiff
path: root/giscanner/codegen.py
diff options
context:
space:
mode:
authorSimon Feltman <sfeltman@src.gnome.org>2014-04-28 14:55:27 -0700
committerThomas A Caswell <tcaswell@gmail.com>2015-09-29 14:59:40 -0400
commit2cfccfb860bbc8c5be77792012172bceb7e8b9e2 (patch)
treea0a28495cfae5aa86aedf6e28cf17290a16b8e6d /giscanner/codegen.py
parente09c0a2bca45016daee064669ef5b1c9a748a566 (diff)
downloadgobject-introspection-2cfccfb860bbc8c5be77792012172bceb7e8b9e2.tar.gz
giscanner: Use absolute_import for all Python files
Use absolute_import to ensure Python 3 compatibility of the code base. https://bugzilla.gnome.org/show_bug.cgi?id=679438
Diffstat (limited to 'giscanner/codegen.py')
-rw-r--r--giscanner/codegen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/codegen.py b/giscanner/codegen.py
index 20e087b4..1e6bcb2f 100644
--- a/giscanner/codegen.py
+++ b/giscanner/codegen.py
@@ -19,6 +19,7 @@
#
from __future__ import with_statement
+from __future__ import absolute_import
from contextlib import contextmanager