[pypy-svn] r70096 - pypy/branch/import-builtin/pypy/module/imp

afa at codespeak.net afa at codespeak.net
Mon Dec 14 15:16:19 CET 2009


Author: afa
Date: Mon Dec 14 15:16:18 2009
New Revision: 70096

Modified:
   pypy/branch/import-builtin/pypy/module/imp/importing.py
Log:
fix translation, and remove debug prints


Modified: pypy/branch/import-builtin/pypy/module/imp/importing.py
==============================================================================
--- pypy/branch/import-builtin/pypy/module/imp/importing.py	(original)
+++ pypy/branch/import-builtin/pypy/module/imp/importing.py	Mon Dec 14 15:16:18 2009
@@ -580,14 +580,13 @@
     Load a source module from a given file and return its module
     object.
     """
-    print "AFA LOAD SOURCE MODULE", pathname
     if space.config.objspace.usepycfiles:
         cpathname = pathname + 'c'
         mtime = int(os.stat(pathname)[stat.ST_MTIME])
         stream = check_compiled_module(space, cpathname, mtime)
-        print "CHECKED", stream
     else:
         stream = None
+        cpathname = None
 
     w = space.wrap
 



More information about the Pypy-commit mailing list