[pypy-commit] pypy default: silence pyflakes

bdkearns noreply at buildbot.pypy.org
Thu Dec 4 03:03:51 CET 2014


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r74802:6bd0b3c411b0
Date: 2014-12-03 19:48 -0500
http://bitbucket.org/pypy/pypy/changeset/6bd0b3c411b0/

Log:	silence pyflakes

diff --git a/pypy/module/micronumpy/boxes.py b/pypy/module/micronumpy/boxes.py
--- a/pypy/module/micronumpy/boxes.py
+++ b/pypy/module/micronumpy/boxes.py
@@ -167,7 +167,7 @@
         if len(args_w) >= 1:
             for w_arg in args_w:
                 try:
-                    idx = support.index_w(space, w_arg)
+                    support.index_w(space, w_arg)
                 except OperationError:
                     raise oefmt(space.w_TypeError, "an integer is required")
             raise oefmt(space.w_ValueError, "axes don't match array")


More information about the pypy-commit mailing list