Author: Amaury Forgeot d'Arc <amaur...@gmail.com>
Branch: py3k
Changeset: r51638:e27203d55679
Date: 2012-01-21 22:39 +0100
http://bitbucket.org/pypy/pypy/changeset/e27203d55679/

Log:    One more fix for test_compiler

diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -588,7 +588,7 @@
         w_iterable = self.popvalue()
         items = self.space.fixedview(w_iterable)
         itemcount = len(items)
-        if right < itemcount:
+        if right > itemcount:
             count = left + right
             if count == 1:
                 plural = ''
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to