[pypy-commit] pypy iterator-in-rpython: run tests actually
fijal
noreply at buildbot.pypy.org
Sun Jul 8 19:30:54 CEST 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: iterator-in-rpython
Changeset: r56003:4c2491805691
Date: 2012-07-08 19:22 +0200
http://bitbucket.org/pypy/pypy/changeset/4c2491805691/
Log: run tests actually
diff --git a/pypy/annotation/unaryop.py b/pypy/annotation/unaryop.py
--- a/pypy/annotation/unaryop.py
+++ b/pypy/annotation/unaryop.py
@@ -638,7 +638,7 @@
def getattr(ins, s_attr):
if s_attr.is_constant() and isinstance(s_attr.const, str):
attr = s_attr.const
- return ins._true_getattr(ins, s_attr)
+ return ins._true_getattr(attr)
return SomeObject()
getattr.can_only_throw = []
More information about the pypy-commit
mailing list