fix need for py import

--HG--
branch : trunk
This commit is contained in:
Benjamin Peterson
2009-08-29 14:16:54 -05:00
parent ee1747fcb4
commit 45a9aa536f
2 changed files with 10 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ if sys.version_info > (3, 0):
exec(source, locs)""")
else:
exec("""def exec_(source, locs):
exec source, locs""")
exec source in locs""")
def exec_from_one_connection(serversock):
print_(progname, 'Entering Accept loop', serversock.getsockname())