just check for unicode, the parser doesn't know str anymore :)
This commit is contained in:
1 parent
3332eba3f7
commit
6577fa4336
1 file changed
+1
-2
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user