[pypy-commit] pypy default: use the same error message as the CPython version
arigo
noreply at buildbot.pypy.org
Sat Sep 22 10:43:02 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r57470:af1bfdaf0f54
Date: 2012-09-22 10:42 +0200
http://bitbucket.org/pypy/pypy/changeset/af1bfdaf0f54/
Log: use the same error message as the CPython version
diff --git a/pypy/module/_cffi_backend/libraryobj.py b/pypy/module/_cffi_backend/libraryobj.py
--- a/pypy/module/_cffi_backend/libraryobj.py
+++ b/pypy/module/_cffi_backend/libraryobj.py
@@ -28,7 +28,7 @@
self.handle = dlopen(ll_libname, mode)
except DLOpenError, e:
raise operationerrfmt(space.w_OSError,
- "cannot load '%s': %s",
+ "cannot load library %s: %s",
filename, e.msg)
self.name = filename
More information about the pypy-commit
mailing list