summaryrefslogtreecommitdiff
path: root/tools/g-ir-tool-template.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/g-ir-tool-template.in')
-rw-r--r--tools/g-ir-tool-template.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/g-ir-tool-template.in b/tools/g-ir-tool-template.in
index b3eb29ab..b7aaf4f0 100644
--- a/tools/g-ir-tool-template.in
+++ b/tools/g-ir-tool-template.in
@@ -20,6 +20,7 @@
#
from __future__ import absolute_import
from __future__ import division
+from __future__ import print_function
import os
import sys
import __builtin__
@@ -36,7 +37,7 @@ if debug:
pydevd.settrace()
else:
def on_exception(exctype, value, tb):
- print "Caught exception: %r %r" % (exctype, value)
+ print("Caught exception: %r %r" % (exctype, value))
import pdb
pdb.pm()
sys.excepthook = on_exception