Don't return a useless pass in require

This commit is contained in:
Nicolas Dandrimont 2013-05-11 08:04:17 +02:00
parent 2426237916
commit 74d4937078

View File

@ -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")