[pypy-commit] pypy py3k: Oops, fix translation

amauryfa noreply at buildbot.pypy.org
Sat Dec 1 12:28:11 CET 2012


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r59159:9e83bc8a8258
Date: 2012-12-01 12:27 +0100
http://bitbucket.org/pypy/pypy/changeset/9e83bc8a8258/

Log:	Oops, fix translation

diff --git a/pypy/interpreter/buffer.py b/pypy/interpreter/buffer.py
--- a/pypy/interpreter/buffer.py
+++ b/pypy/interpreter/buffer.py
@@ -256,7 +256,7 @@
         w_value = space.getitem(self.w_obj, space.wrap(index))
         try:
             return chr(space.int_w(w_value))
-        except OperationError as exc:
+        except OperationError as e:
             if not e.match(space, space.w_TypeError):
                 raise
         s = space.bytes_w(w_value)


More information about the pypy-commit mailing list