summaryrefslogtreecommitdiff
path: root/misc
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 /misc
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 'misc')
-rwxr-xr-xmisc/update-glib-annotations.py1
-rw-r--r--misc/verbump.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/misc/update-glib-annotations.py b/misc/update-glib-annotations.py
index ba1e24dc..71670a36 100755
--- a/misc/update-glib-annotations.py
+++ b/misc/update-glib-annotations.py
@@ -3,6 +3,7 @@
# e.g.:
# ./update-glib-annotations.py ../../glib ../../glib/_build
+from __future__ import absolute_import
import os
import sys
diff --git a/misc/verbump.py b/misc/verbump.py
index 0c7d593f..ac2e1b35 100644
--- a/misc/verbump.py
+++ b/misc/verbump.py
@@ -3,6 +3,8 @@
# * Create a git tag
# * Bump version in configure.ac and commit it
+from __future__ import absolute_import
+
import re
import os
import sys