diff --git a/kombu/transport/SQS.py b/kombu/transport/SQS.py index 76d777c7..c1f4f52c 100644 --- a/kombu/transport/SQS.py +++ b/kombu/transport/SQS.py @@ -229,11 +229,11 @@ class Channel(virtual.Channel): 'body': bytes_to_str(body), 'properties': properties, }) - # set delivery tag to SQS receipt handle - delivery_info.update({ - 'sqs_message': message, 'sqs_queue': queue, - }) - properties['delivery_tag'] = message['ReceiptHandle'] + # set delivery tag to SQS receipt handle + delivery_info.update({ + 'sqs_message': message, 'sqs_queue': queue, + }) + properties['delivery_tag'] = message['ReceiptHandle'] return payload def _messages_to_python(self, messages, queue):