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/Lib/plat-mac/appletrawmain.py b/Lib/plat-mac/appletrawmain.py index 6f2eacb..5c09e2d 100644 --- a/Lib/plat-mac/appletrawmain.py +++ b/Lib/plat-mac/appletrawmain.py
@@ -41,7 +41,7 @@ # sys.argv[0] = __file__ del argvemulator, os, sys, _dir - execfile(__file__) + exec(open(__file__).read()) else: __file__ = os.path.join(_dir, '__main__.pyc') if os.path.exists(__file__):