From 8737ecef65fbb6dbae52ecb65b852866eb146c13 Mon Sep 17 00:00:00 2001 From: Paul Tagliamonte Date: Thu, 27 Dec 2012 22:00:00 -0500 Subject: [PATCH] Close #1 --- hy/compiler/ast27.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hy/compiler/ast27.py b/hy/compiler/ast27.py index 632f17b..3d8a42f 100644 --- a/hy/compiler/ast27.py +++ b/hy/compiler/ast27.py @@ -195,8 +195,8 @@ class AST27Converter(object): body = body if isinstance(body, list) else [body] orel = [] - body = _adjust_body(body, do_ret=self.in_fn) - orel = _adjust_body(orel, do_ret=self.in_fn) + body = _adjust_body(body, do_ret=False) + orel = _adjust_body(orel, do_ret=False) return ast.For( target=ast.Name(id=str(aname), ctx=ast.Store()),