This commit is contained in:
Paul Tagliamonte 2012-12-27 22:00:00 -05:00
parent 177e52c492
commit 8737ecef65

View File

@ -195,8 +195,8 @@ class AST27Converter(object):
body = body if isinstance(body, list) else [body] body = body if isinstance(body, list) else [body]
orel = [] orel = []
body = _adjust_body(body, do_ret=self.in_fn) body = _adjust_body(body, do_ret=False)
orel = _adjust_body(orel, do_ret=self.in_fn) orel = _adjust_body(orel, do_ret=False)
return ast.For( return ast.For(
target=ast.Name(id=str(aname), ctx=ast.Store()), target=ast.Name(id=str(aname), ctx=ast.Store()),