diff --git a/doc_source/with-sqs-create-package.md b/doc_source/with-sqs-create-package.md index 6723b172..46650be2 100644 --- a/doc_source/with-sqs-create-package.md +++ b/doc_source/with-sqs-create-package.md @@ -144,11 +144,12 @@ Follow the instructions to create a AWS Lambda function deployment package\. ``` from __future__ import print_function + def lambda_handler(event, context): for record in event['Records']: - print ("test") - payload=record["body"] - print(str(payload)) + print("test") + payload = record["body"] + print(str(payload)) ``` -Zip up the sample code to create a deployment package\. For instructions, see [Deploy Python Lambda functions with \.zip file archives](python-package.md)\. \ No newline at end of file +Zip up the sample code to create a deployment package\. For instructions, see [Deploy Python Lambda functions with \.zip file archives](python-package.md)\.