Commits

Armin Rigo committed 388909a

Uh, fix

Comments (0)

Files changed (1)

pypy/module/mmap/interp_mmap.py

         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