Skip to content

Commit 0e04303

Browse files
Resolve logger warnings (#2302)
Signed-off-by: Emmanuel Ferdman <[email protected]>
1 parent 353ba16 commit 0e04303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kombu/transport/native_delayed_delivery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def bind_queue_to_native_delayed_delivery_exchange(connection: Connection, queue
112112
for binding_entry in bindings:
113113
exchange: Exchange = binding_entry.exchange.bind(channel)
114114
if exchange.type == 'direct':
115-
logger.warn(f"Exchange {exchange.name} is a direct exchange "
115+
logger.warning(f"Exchange {exchange.name} is a direct exchange "
116116
f"and native delayed delivery do not support direct exchanges.\n"
117117
f"ETA tasks published to this exchange will block the worker until the ETA arrives.")
118118
continue

0 commit comments

Comments
 (0)