correct expletive and remove debug line

This commit is contained in:
rocky4570fft 2016-10-10 01:22:16 +10:00
parent dc98cf6f64
commit c4ea3cf751

View File

@ -129,9 +129,9 @@ class LambdaFunction(object):
mycode = "\n".join(['import json', mycode = "\n".join(['import json',
self.convert(self.code), self.convert(self.code),
self.convert('print(lambda_handler(%s, %s))' % (self.is_json(self.convert(event)), context))]) self.convert('print(lambda_handler(%s, %s))' % (self.is_json(self.convert(event)), context))])
print("moto_lambda_debug: ", mycode) #print("moto_lambda_debug: ", mycode)
except Exception as ex: except Exception as ex:
print('fuck ', ex) print("Exception %s", ex)
try: try:
codeOut = StringIO() codeOut = StringIO()