summaryrefslogtreecommitdiff
path: root/tools
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 /tools
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 'tools')
-rw-r--r--tools/g-ir-tool-template.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/g-ir-tool-template.in b/tools/g-ir-tool-template.in
index 43eea46e..343e89da 100644
--- a/tools/g-ir-tool-template.in
+++ b/tools/g-ir-tool-template.in
@@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
#
-
+from __future__ import absolute_import
import os
import sys
import __builtin__