just check for unicode, the parser doesn't know str anymore :)

This commit is contained in:
Dave Halter
2014-02-27 00:31:41 +01:00
parent 3332eba3f7
commit 6577fa4336
+1 -2
View File
@@ -182,8 +182,7 @@ class Evaluator(object):
except StopIteration: except StopIteration:
break break
continue continue
elif not isinstance(call, (str, unicode)): elif not isinstance(call, unicode):
# TODO just else?
result += self.eval_call(call) result += self.eval_call(call)
return set(result) return set(result)