commit | 016880229a369a3fb419f3eed28b6db7c342fe71 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sun Aug 12 00:43:29 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sun Aug 12 00:43:29 2007 +0000 |
tree | 9b11de5c197bc556dd515e035327673765cd4871 | |
parent | 41eaedd3613cebc83e6b9925499369992c7a7770 [diff] [blame] |
Kill execfile(), use exec() instead
diff --git a/Mac/Modules/qd/qdscan.py b/Mac/Modules/qd/qdscan.py index 85a8cdc..c601b0e 100644 --- a/Mac/Modules/qd/qdscan.py +++ b/Mac/Modules/qd/qdscan.py
@@ -41,7 +41,7 @@ ofp.close() print "=== Testing definitions output code ===" - execfile(defsoutput, {}, {}) + exec(open(defsoutput).read(), {}, {}) print "=== Done scanning and generating, now importing the generated code... ===" import qdsupport print "=== Done. It's up to you to compile it now! ==="