Don't return a useless pass
in require
This commit is contained in:
parent
2426237916
commit
74d4937078
@ -1207,8 +1207,7 @@ class HyASTCompiler(object):
|
|||||||
expression.pop(0)
|
expression.pop(0)
|
||||||
for entry in expression:
|
for entry in expression:
|
||||||
__import__(entry) # Import it fo' them macros.
|
__import__(entry) # Import it fo' them macros.
|
||||||
return ast.Pass(lineno=expression.start_line,
|
return Result()
|
||||||
col_offset=expression.start_column)
|
|
||||||
|
|
||||||
@builds("and")
|
@builds("and")
|
||||||
@builds("or")
|
@builds("or")
|
||||||
|
Loading…
Reference in New Issue
Block a user