[pypy-commit] pypy py3.3: oops

mjacob noreply at buildbot.pypy.org
Mon Feb 23 14:23:16 CET 2015


Author: Manuel Jacob <me at manueljacob.de>
Branch: py3.3
Changeset: r76076:bba15e337db2
Date: 2015-02-23 13:49 +0100
http://bitbucket.org/pypy/pypy/changeset/bba15e337db2/

Log:	oops

diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py
--- a/pypy/objspace/std/unicodeobject.py
+++ b/pypy/objspace/std/unicodeobject.py
@@ -505,7 +505,7 @@
         is_text_encoding = space.is_true(
                 space.getattr(codec_info, space.wrap('_is_text_encoding')))
     except OperationError as e:
-        if e.match(space.w_AttributeError):
+        if e.match(space, space.w_AttributeError):
             is_text_encoding = True
         else:
             raise
@@ -559,7 +559,7 @@
         is_text_encoding = space.is_true(
                 space.getattr(codec_info, space.wrap('_is_text_encoding')))
     except OperationError as e:
-        if e.match(space.w_AttributeError):
+        if e.match(space, space.w_AttributeError):
             is_text_encoding = True
         else:
             raise


More information about the pypy-commit mailing list