Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r64948:388909aea951
Date: 2013-06-20 10:53 +0200
http://bitbucket.org/pypy/pypy/changeset/388909aea951/

Log:    Uh, fix

diff --git a/pypy/module/mmap/interp_mmap.py b/pypy/module/mmap/interp_mmap.py
--- a/pypy/module/mmap/interp_mmap.py
+++ b/pypy/module/mmap/interp_mmap.py
@@ -281,7 +281,7 @@
         return wrap_oserror(space, e, w_exception_class=w_error)
     else:
         # bogus 'e'?
-        return OperationError(space.w_SystemError, space.wrap(repr(e)))
+        return OperationError(space.w_SystemError, space.wrap('%s' % e))
 mmap_error._dont_inline_ = True
 
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to