[pypy-svn] r71760 - pypy/branch/import-fiddle/pypy/module/imp

fijal at codespeak.net fijal at codespeak.net
Fri Mar 5 03:32:04 CET 2010


Author: fijal
Date: Fri Mar  5 03:31:59 2010
New Revision: 71760

Modified:
   pypy/branch/import-fiddle/pypy/module/imp/importing.py
Log:
fix translation


Modified: pypy/branch/import-fiddle/pypy/module/imp/importing.py
==============================================================================
--- pypy/branch/import-fiddle/pypy/module/imp/importing.py	(original)
+++ pypy/branch/import-fiddle/pypy/module/imp/importing.py	Fri Mar  5 03:31:59 2010
@@ -175,6 +175,7 @@
             if last_dot == -1:
                 w_mod = check_sys_modules_w(space, modulename)
             else:
+                assert last_dot >= 0
                 w_mod = check_sys_modules_w(space, modulename[:last_dot])
             if w_mod is None or space.is_w(w_mod, space.w_None):
                 return None



More information about the Pypy-commit mailing list