attmpt 3 not liking Python 3 very much at the moment
This commit is contained in:
parent
7c3005e582
commit
5500cc3e6f
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ class LambdaFunction(object):
|
||||||
#print "moto_lambda_debug: ", mycode
|
#print "moto_lambda_debug: ", mycode
|
||||||
sys.stdout = codeOut
|
sys.stdout = codeOut
|
||||||
sys.stderr = codeErr
|
sys.stderr = codeErr
|
||||||
exec mycode
|
exec(mycode)
|
||||||
exec_err = codeErr.getvalue()
|
exec_err = codeErr.getvalue()
|
||||||
exec_out = codeOut.getvalue()
|
exec_out = codeOut.getvalue()
|
||||||
result = "\n".join([exec_out, exec_err])
|
result = "\n".join([exec_out, exec_err])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue