diff options
author | Igor Gnatenko <ignatenko@src.gnome.org> | 2017-07-15 15:21:11 +0200 |
---|---|---|
committer | Igor Gnatenko <ignatenko@src.gnome.org> | 2017-07-15 15:27:31 +0200 |
commit | 112908d9e4a7a9ecac8cda830dba599f88b47672 (patch) | |
tree | 446c0aa8a01a7963a71dc1883e9f84f4d31d638d | |
parent | 9306ada4fdd2c00813c7ea088cd6fb5003ccd352 (diff) | |
download | glib-112908d9e4a7a9ecac8cda830dba599f88b47672.tar.gz |
mkenums: fix main incompatibility with python2
Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
-rwxr-xr-x | gobject/glib-mkenums.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gobject/glib-mkenums.in b/gobject/glib-mkenums.in index 87f81cf2e..b4a3af96f 100755 --- a/gobject/glib-mkenums.in +++ b/gobject/glib-mkenums.in @@ -6,6 +6,8 @@ # # This is a manual conversion from the original Perl script to # Python. Improvements are welcome. +# +from __future__ import print_function, unicode_literals import os, sys, re, argparse, tempfile |