summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/g-ir-tool-template.in9
1 files changed, 1 insertions, 8 deletions
diff --git a/tools/g-ir-tool-template.in b/tools/g-ir-tool-template.in
index b9cf0911..3b33f75d 100755
--- a/tools/g-ir-tool-template.in
+++ b/tools/g-ir-tool-template.in
@@ -18,19 +18,12 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
#
-from __future__ import absolute_import
-from __future__ import division
-from __future__ import print_function
-from __future__ import unicode_literals
import os
import sys
import sysconfig
+import builtins
-if sys.version_info.major < 3:
- import __builtin__ as builtins
-else:
- import builtins
debug = os.getenv('GI_SCANNER_DEBUG')
if debug: