Blame SOURCES/qpid-transport-works-with-celery-4.patch

rdobuilder 0b87d2
diff --git a/kombu/transport/qpid.py b/kombu/transport/qpid.py
rdobuilder 0b87d2
index 2204624..35da356 100644
rdobuilder 0b87d2
--- a/kombu/transport/qpid.py
rdobuilder 0b87d2
+++ b/kombu/transport/qpid.py
rdobuilder 0b87d2
@@ -850,7 +850,7 @@ def basic_get(self, queue, no_ack=False, **kwargs):
rdobuilder 0b87d2
         except Empty:
rdobuilder 0b87d2
             pass
rdobuilder 0b87d2
rdobuilder 0b87d2
-    def basic_ack(self, delivery_tag):
rdobuilder 0b87d2
+    def basic_ack(self, delivery_tag, multiple=False):
rdobuilder 0b87d2
         """Acknowledge a message by delivery_tag.
rdobuilder 0b87d2
rdobuilder 0b87d2
         Acknowledges a message referenced by delivery_tag. Messages can
rdobuilder 0b87d2
@@ -864,8 +864,12 @@ def basic_ack(self, delivery_tag):
rdobuilder 0b87d2
         :param delivery_tag: The delivery tag associated with the message
rdobuilder 0b87d2
             to be acknowledged.
rdobuilder 0b87d2
         :type delivery_tag: uuid.UUID
rdobuilder 0b87d2
+        :param multiple: not implemented. If set to True an AssertionError
rdobuilder 0b87d2
+            is raised.
rdobuilder 0b87d2
+        :type multiple: bool
rdobuilder 0b87d2
rdobuilder 0b87d2
         """
rdobuilder 0b87d2
+        assert multiple is False
rdobuilder 0b87d2
         self.qos.ack(delivery_tag)
rdobuilder 0b87d2
rdobuilder 0b87d2
     def basic_reject(self, delivery_tag, requeue=False):