Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3k
Changeset: r84750:7a1859214339
Date: 2016-05-27 15:29 -0700
http://bitbucket.org/pypy/pypy/changeset/7a1859214339/

Log:    fix

diff --git a/pypy/module/zipimport/interp_zipimport.py 
b/pypy/module/zipimport/interp_zipimport.py
--- a/pypy/module/zipimport/interp_zipimport.py
+++ b/pypy/module/zipimport/interp_zipimport.py
@@ -351,7 +351,8 @@
                                             self.corr_zname(filename + ext))
         raise oefmt(get_error(space),
                     "Cannot find module %R in %R",
-                    w_filename, space.wrap_fsdecoded(self.name))
+                    space.wrap_fsdecoded(filename),
+                    space.wrap_fsdecoded(self.name))
 
     def is_package(self, space, w_fullname):
         fullname = space.fsencode_w(w_fullname)
@@ -361,7 +362,8 @@
                 return space.wrap(is_package)
         raise oefmt(get_error(space),
                     "Cannot find module %R in %R",
-                    w_fullname, space.wrap_fsdecoded(self.name))
+                    space.wrap_fsdecoded(filename),
+                    space.wrap_fsdecoded(self.name))
 
     def getarchive(self, space):
         space = self.space
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to