diff options
author | Simon Feltman <sfeltman@src.gnome.org> | 2014-04-28 14:55:27 -0700 |
---|---|---|
committer | Thomas A Caswell <tcaswell@gmail.com> | 2015-09-29 14:59:40 -0400 |
commit | 2cfccfb860bbc8c5be77792012172bceb7e8b9e2 (patch) | |
tree | a0a28495cfae5aa86aedf6e28cf17290a16b8e6d /misc | |
parent | e09c0a2bca45016daee064669ef5b1c9a748a566 (diff) | |
download | gobject-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-x | misc/update-glib-annotations.py | 1 | ||||
-rw-r--r-- | misc/verbump.py | 2 |
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 |