Remove useless check
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
f268403d49
commit
049c019791
@ -157,7 +157,7 @@ class HyASTCompiler(object):
|
|||||||
|
|
||||||
ret = []
|
ret = []
|
||||||
|
|
||||||
if self.returnable and len(tree) > 0:
|
if self.returnable:
|
||||||
el = tree[0]
|
el = tree[0]
|
||||||
if not isinstance(el, ast.stmt):
|
if not isinstance(el, ast.stmt):
|
||||||
el = tree.pop(0)
|
el = tree.pop(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user