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

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