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

Michael Fladischer fladi at moszumanska.debian.org
Sat Dec 19 17:55:11 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 976d0deecb8ddbdae7b14f66e1590f1063d21165
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