fixed the getattr/__getattr__ stuff

This commit is contained in:
Dave Halter committed 2014-01-10 15:14:55 +01:00
1 parent f868668f0e
commit 14c9ed88ca
5 files changed
+5 -14

No files matched your search

-1
View File
@@ -51,7 +51,6 @@ def builtins_getattr(evaluator, obj, params):
for name in names:
s = unicode, str
print name
if isinstance(name, compiled.PyObject) and isinstance(name.obj, s):
stmts += evaluator.follow_path(iter([name.obj]), [obj], obj)
else: