attmpt 6 is it the print statements or unicode?
This commit is contained in:
parent
de9d31bc0d
commit
95c90ae15f
@ -107,8 +107,8 @@ class LambdaFunction(object):
|
|||||||
|
|
||||||
def _invoke_lambda(self, code, event={}, context={}):
|
def _invoke_lambda(self, code, event={}, context={}):
|
||||||
# TO DO: context not yet implemented
|
# TO DO: context not yet implemented
|
||||||
mycode = "\n".join([self.code, 'print lambda_handler(%s, %s)' % (event, context)])
|
mycode = "\n".join([self.code, 'print(lambda_handler(%s, %s))' % (event, context)])
|
||||||
#print "moto_lambda_debug: ", mycode
|
print("moto_lambda_debug: ", mycode)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
codeOut = StringIO()
|
codeOut = StringIO()
|
||||||
|
Loading…
Reference in New Issue
Block a user