diff options
author | Bradley Sepos <[email protected]> | 2019-02-25 07:03:28 -0500 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2019-02-25 08:47:38 -0500 |
commit | 5bff83c1da2d99da99fab70cb8b9ae13717a4323 (patch) | |
tree | dc5db2ecbe150b6d1cba7c2dc6f5e7228a9cee1e /gtk/src/makedeps.py | |
parent | e563c0d80618d13acf5a67fbbe69a907ef07a30c (diff) |
configure: gtk: make: scripts: Make scripts compatible with Python 3.
Diffstat (limited to 'gtk/src/makedeps.py')
-rw-r--r-- | gtk/src/makedeps.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/makedeps.py b/gtk/src/makedeps.py index bd3da2efc..2cbd1bcb1 100644 --- a/gtk/src/makedeps.py +++ b/gtk/src/makedeps.py @@ -62,13 +62,13 @@ def main(): try: depsfile = open("widget.deps", "w") - except Exception, err: + except Exception as err: print >> sys.stderr, ( "Error: %s" % str(err) ) sys.exit(1) try: revfile = open("widget_reverse.deps", "w") - except Exception, err: + except Exception as err: print >> sys.stderr, ( "Error: %s" % str(err)) sys.exit(1) |