summaryrefslogtreecommitdiff
path: root/giscanner/maintransformer.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/maintransformer.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/maintransformer.py')
-rw-r--r--giscanner/maintransformer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py
index f2949822..d41a96b6 100644
--- a/giscanner/maintransformer.py
+++ b/giscanner/maintransformer.py
@@ -17,6 +17,8 @@
# Boston, MA 02111-1307, USA.
#
+from __future__ import absolute_import
+
import re
from . import ast