[pypy-svn] r78339 - pypy/branch/fast-forward/pypy/module/zipimport

afa at codespeak.net afa at codespeak.net
Wed Oct 27 09:50:42 CEST 2010


Author: afa
Date: Wed Oct 27 09:50:40 2010
New Revision: 78339

Modified:
   pypy/branch/fast-forward/pypy/module/zipimport/interp_zipimport.py
Log:
Stupid typo


Modified: pypy/branch/fast-forward/pypy/module/zipimport/interp_zipimport.py
==============================================================================
--- pypy/branch/fast-forward/pypy/module/zipimport/interp_zipimport.py	(original)
+++ pypy/branch/fast-forward/pypy/module/zipimport/interp_zipimport.py	Wed Oct 27 09:50:40 2010
@@ -220,7 +220,7 @@
     def make_filename(self, fullname):
         startpos = fullname.rfind('.') + 1 # 0 when not found
         assert startpos >= 0
-        subname = fullname[start:]
+        subname = fullname[startpos:]
         return self.prefix + subname
 
     def load_module(self, space, fullname):



More information about the Pypy-commit mailing list