summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/menu/menuscan.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/menu/menuscan.py')
-rw-r--r--Mac/Modules/menu/menuscan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/menu/menuscan.py b/Mac/Modules/menu/menuscan.py
index ae9465e..46afe16 100644
--- a/Mac/Modules/menu/menuscan.py
+++ b/Mac/Modules/menu/menuscan.py
@@ -14,7 +14,7 @@ def main():
scanner.scan()
scanner.close()
print "=== Testing definitions output code ==="
- execfile(defsoutput, {}, {})
+ exec(open(defsoutput).read(), {}, {})
print "=== Done scanning and generating, now doing 'import menusupport' ==="
import menusupport
print "=== Done. It's up to you to compile Menumodule.c ==="