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

Brian May bam at moszumanska.debian.org
Mon Jan 18 07:55:19 UTC 2016


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

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

commit fb734494eea47b850974de8912e29d0987b5344c
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