[pypy-svn] pypy default: Hum. Sorry.

arigo commits-noreply at bitbucket.org
Tue Feb 15 09:58:50 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r41939:1de07618270a
Date: 2011-02-15 09:39 +0100
http://bitbucket.org/pypy/pypy/changeset/1de07618270a/

Log:	Hum. Sorry.

diff --git a/pypy/translator/goal/app_main.py b/pypy/translator/goal/app_main.py
--- a/pypy/translator/goal/app_main.py
+++ b/pypy/translator/goal/app_main.py
@@ -662,7 +662,7 @@
         if os.path.isdir(path):
             return None
         else:
-            return imp.NullImporter()
+            return imp.NullImporter(path)
     def _run_module_as_main(module):
         import sys, os
         path = os.path.join(sys.path[0], module + '.py')


More information about the Pypy-commit mailing list