diff options
author | Omer Katz <omer.drow@gmail.com> | 2020-07-13 16:58:06 +0300 |
---|---|---|
committer | Omer Katz <omer.drow@gmail.com> | 2020-07-13 16:58:06 +0300 |
commit | 7a6e7cc45b9afe799770313a66c4211d1986ff30 (patch) | |
tree | 189c7fa2e7ca9835e14975093c12b7e5d3d8213b /examples/simple_eventlet_send.py | |
parent | 016f4accb634ebc3eb8fc66741f23552e5966ea7 (diff) | |
download | kombu-7a6e7cc45b9afe799770313a66c4211d1986ff30.tar.gz |
pyupgrade
Diffstat (limited to 'examples/simple_eventlet_send.py')
-rw-r--r-- | examples/simple_eventlet_send.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/simple_eventlet_send.py b/examples/simple_eventlet_send.py index 2998fe37..9a753e7a 100644 --- a/examples/simple_eventlet_send.py +++ b/examples/simple_eventlet_send.py @@ -6,7 +6,6 @@ You can use `simple_receive.py` (or `complete_receive.py`) to receive the message sent. """ -from __future__ import absolute_import, unicode_literals import eventlet @@ -30,7 +29,7 @@ def send_many(n): with connection.SimpleQueue('kombu_demo') as queue: def send_message(i): - queue.put({'hello': 'world%s' % (i,)}) + queue.put({'hello': f'world{i}'}) pool = eventlet.GreenPool(10) for i in range(n): |