Author: Amaury Forgeot d'Arc <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to