diff options
author | Ask Solem <askh@opera.com> | 2010-11-30 19:58:04 +0100 |
---|---|---|
committer | Ask Solem <askh@opera.com> | 2010-11-30 19:58:04 +0100 |
commit | aa5ee5c43699d197d277a230e239aa20e39ad11e (patch) | |
tree | 562376be4973f62ab4fe2ee7e8c5c34130df8cb2 /examples | |
parent | 0e44a16230266524ca0427116d4c5bef60bc765e (diff) | |
download | kombu-aa5ee5c43699d197d277a230e239aa20e39ad11e.tar.gz |
PEP8ifyev0.9.7
Diffstat (limited to 'examples')
-rw-r--r-- | examples/demo_receive.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/demo_receive.py b/examples/demo_receive.py index e6ca60c9..bf618e46 100644 --- a/examples/demo_receive.py +++ b/examples/demo_receive.py @@ -15,6 +15,7 @@ queue = Queue("kombu_demo", exchange, routing_key="kombu_demo") def pretty(obj): return pformat(obj, indent=4) + #: This is the callback applied when a message is received. def handle_message(body, message): print("Received message: %r" % (body, )) @@ -42,5 +43,3 @@ consumer.consume() #: be a message, or a message that is to be delivered to the consumers #: channel, but any event received on the connection. connection.drain_events() - - |