summaryrefslogtreecommitdiff
path: root/examples/hello_consumer.py
diff options
context:
space:
mode:
authorAsk Solem <ask@celeryproject.org>2016-03-21 15:47:07 -0700
committerAsk Solem <ask@celeryproject.org>2016-03-21 15:47:07 -0700
commita8569f3a827a2f8f350eb58f9732a3b43a107edc (patch)
tree7863ff984ddf61702c20558fd052253bc3b597f7 /examples/hello_consumer.py
parentd5eb0d7da726b3cd89f4d6ca82c12276ebfa4200 (diff)
downloadkombu-a8569f3a827a2f8f350eb58f9732a3b43a107edc.tar.gz
flakes
Diffstat (limited to 'examples/hello_consumer.py')
-rw-r--r--examples/hello_consumer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hello_consumer.py b/examples/hello_consumer.py
index 695c6553..ebc6d038 100644
--- a/examples/hello_consumer.py
+++ b/examples/hello_consumer.py
@@ -3,6 +3,6 @@ from kombu import Connection
with Connection('amqp://guest:guest@localhost:5672//') as conn:
simple_queue = conn.SimpleQueue('simple_queue')
message = simple_queue.get(block=True, timeout=1)
- print("Received: %s" % message.payload)
+ print('Received: %s' % message.payload)
message.ack()
simple_queue.close()