1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
From fb734494eea47b850974de8912e29d0987b5344c Mon Sep 17 00:00:00 2001
From: Thomas Goirand <zigo@debian.org>
Date: Thu, 8 Oct 2015 11:06:35 -0700
Subject: Removes deprecation warning
The depraction warning is flooding Nova logs. As it's too late to fix Nova,
best way forward is to just remove the depraction warning, which this patch
does.
Bug-Debian: https://bugs.debian.org/774966
Forwarded: not-needed
Last-Update: 2014-01-17
---
amqp/channel.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/amqp/channel.py b/amqp/channel.py
index ff6a4ae..0d4897e 100644
--- a/amqp/channel.py
+++ b/amqp/channel.py
@@ -614,9 +614,6 @@ class Channel(AbstractChannel):
args.write_table(arguments)
self._send_method((40, 10), args)
- if auto_delete:
- warn(VDeprecationWarning(EXCHANGE_AUTODELETE_DEPRECATED))
-
if not nowait:
return self.wait(allowed_methods=[
(40, 11), # Channel.exchange_declare_ok
|