[Python-modules-commits] [python-amqp] 03/15: Removes deprecation warning

Michael Fladischer fladi at moszumanska.debian.org
Sat Dec 19 17:55:09 UTC 2015


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch master
in repository python-amqp.

commit 647bcd43c120245a14d945ba4b98f9e44b6b321e
Author: Thomas Goirand <zigo at debian.org>
Date:   Thu Oct 8 11:06:35 2015 -0700

    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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-amqp.git



More information about the Python-modules-commits mailing list