Author: Maciej Fijalkowski <fij...@gmail.com>
Branch: fileops2
Changeset: r67214:90b0c8837a36
Date: 2013-10-08 15:00 +0200
http://bitbucket.org/pypy/pypy/changeset/90b0c8837a36/

Log:    oops

diff --git a/rpython/flowspace/model.py b/rpython/flowspace/model.py
--- a/rpython/flowspace/model.py
+++ b/rpython/flowspace/model.py
@@ -257,7 +257,7 @@
         pending = [self]   # pending blocks
         seen = {self: True, None: True}
         for x in pending:
-            for y in gc.get_referrers(self):
+            for y in gc.get_referrers(x):
                 if isinstance(y, FunctionGraph):
                     return y
                 elif isinstance(y, Link):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to