summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/cg/cgscan.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/cg/cgscan.py')
-rwxr-xr-xMac/Modules/cg/cgscan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/cg/cgscan.py b/Mac/Modules/cg/cgscan.py
index b2e7946..82f4919 100755
--- a/Mac/Modules/cg/cgscan.py
+++ b/Mac/Modules/cg/cgscan.py
@@ -23,7 +23,7 @@ def main():
scanner.gentypetest(SHORT+"typetest.py")
scanner.close()
print "=== Testing definitions output code ==="
- execfile(defsoutput, {}, {})
+ exec(open(defsoutput).read(), {}, {})
print "=== Done scanning and generating, now importing the generated code... ==="
exec "import " + SHORT + "support"
print "=== Done. It's up to you to compile it now! ==="