[pypy-commit] pypy ffi-backend: Fix
arigo
noreply at buildbot.pypy.org
Fri Jul 27 14:38:13 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch: ffi-backend
Changeset: r56490:efb8662f1faf
Date: 2012-07-27 12:32 +0000
http://bitbucket.org/pypy/pypy/changeset/efb8662f1faf/
Log: Fix
diff --git a/pypy/module/_cffi_backend/ctypefunc.py b/pypy/module/_cffi_backend/ctypefunc.py
--- a/pypy/module/_cffi_backend/ctypefunc.py
+++ b/pypy/module/_cffi_backend/ctypefunc.py
@@ -130,7 +130,7 @@
if argtype.is_unichar_ptr_or_array:
try:
space.unicode_w(w_obj)
- except OperationError:
+ except OperationError, e:
if not e.match(space, space.w_TypeError):
raise
else:
More information about the pypy-commit
mailing list