[Python-modules-commits] r31673 - in packages/python-amqp/trunk/debian (3 files)

zigo at users.alioth.debian.org zigo at users.alioth.debian.org
Sat Jan 17 17:28:18 UTC 2015


    Date: Saturday, January 17, 2015 @ 17:28:17
  Author: zigo
Revision: 31673

Removes the VDeprecationWarning which is flooding all nova services, thanks to
Bastian Blank for reporting (Closes: #774966).

Added:
  packages/python-amqp/trunk/debian/patches/remove-deprecation-warning.patch
Modified:
  packages/python-amqp/trunk/debian/changelog
  packages/python-amqp/trunk/debian/patches/series

Modified: packages/python-amqp/trunk/debian/changelog
===================================================================
--- packages/python-amqp/trunk/debian/changelog	2015-01-17 14:12:19 UTC (rev 31672)
+++ packages/python-amqp/trunk/debian/changelog	2015-01-17 17:28:17 UTC (rev 31673)
@@ -1,3 +1,11 @@
+python-amqp (1.4.5-2) unstable; urgency=medium
+
+  * Team upload.
+  * Removes the VDeprecationWarning which is flooding all nova services, thanks to
+    Bastian Blank for reporting (Closes: #774966).
+
+ -- Thomas Goirand <zigo at debian.org>  Sat, 17 Jan 2015 16:52:46 +0000
+
 python-amqp (1.4.5-1) unstable; urgency=low
 
   * New upstream release.

Added: packages/python-amqp/trunk/debian/patches/remove-deprecation-warning.patch
===================================================================
--- packages/python-amqp/trunk/debian/patches/remove-deprecation-warning.patch	                        (rev 0)
+++ packages/python-amqp/trunk/debian/patches/remove-deprecation-warning.patch	2015-01-17 17:28:17 UTC (rev 31673)
@@ -0,0 +1,21 @@
+Description: 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.
+Author: Thomas Goirand <zigo at debian.org>
+Bug-Debian: https://bugs.debian.org/774966
+Forwarded: not-needed
+Last-Update: 2014-01-17
+
+--- python-amqp-1.4.5.orig/amqp/channel.py
++++ python-amqp-1.4.5/amqp/channel.py
+@@ -612,9 +612,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

Modified: packages/python-amqp/trunk/debian/patches/series
===================================================================
--- packages/python-amqp/trunk/debian/patches/series	2015-01-17 14:12:19 UTC (rev 31672)
+++ packages/python-amqp/trunk/debian/patches/series	2015-01-17 17:28:17 UTC (rev 31673)
@@ -1 +1,2 @@
 remove_logo.patch
+remove-deprecation-warning.patch




More information about the Python-modules-commits mailing list