summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/debug-debug-scripts6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/debug-debug-scripts b/tools/debug-debug-scripts
index 2d027fc..c35f6d5 100755
--- a/tools/debug-debug-scripts
+++ b/tools/debug-debug-scripts
@@ -1,6 +1,6 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
# encoding: utf-8
-from __future__ import print_function
+
copyright = '''
// Copyright © 2014 Ben Longbons <b.r.longbons@gmail.com>
@@ -38,7 +38,7 @@ def eprint(s):
def get_classes_from_file(a):
global error
d = {}
- execfile(a, d)
+ exec(compile(open(a, "rb").read(), a, 'exec'), d)
for (k, v) in sorted(d.items()):
try:
name = v.name