[pypy-svn] r73520 - pypy/branch/decouple-host-opcodes/pypy/translator/goal

fijal at codespeak.net fijal at codespeak.net
Wed Apr 7 21:32:11 CEST 2010


Author: fijal
Date: Wed Apr  7 21:32:09 2010
New Revision: 73520

Modified:
   pypy/branch/decouple-host-opcodes/pypy/translator/goal/targetpypystandalone.py
Log:
wonderful joys of untested code


Modified: pypy/branch/decouple-host-opcodes/pypy/translator/goal/targetpypystandalone.py
==============================================================================
--- pypy/branch/decouple-host-opcodes/pypy/translator/goal/targetpypystandalone.py	(original)
+++ pypy/branch/decouple-host-opcodes/pypy/translator/goal/targetpypystandalone.py	Wed Apr  7 21:32:09 2010
@@ -233,8 +233,8 @@
 
         # manually imports app_main.py
         filename = os.path.join(this_dir, 'app_main.py')
-        app = gatway.applevel(open(filename).read(), 'app_main.py', 'app_main')
-        w_dict = app.getwdict()
+        app = gateway.applevel(open(filename).read(), 'app_main.py', 'app_main')
+        w_dict = app.getwdict(space)
         entry_point = create_entry_point(space, w_dict)
 
         return entry_point, None, PyPyAnnotatorPolicy(single_space = space)



More information about the Pypy-commit mailing list