From 05fcf6a95b68f4078410fa46a733926b2cd6eb48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Tue, 23 Jun 2020 22:09:21 +0200 Subject: [PATCH] queue.bind --- CHANGELOG.md | 1 - coolamqp/attaches/declarer.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ffabfc7..19c4aee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,5 @@ # v1.2 -* queue's name will be filled in upon being declared * added queue.bind # v1.1.1 diff --git a/coolamqp/attaches/declarer.py b/coolamqp/attaches/declarer.py index 0e56841..6bcaae2 100644 --- a/coolamqp/attaches/declarer.py +++ b/coolamqp/attaches/declarer.py @@ -138,9 +138,6 @@ class Operation(object): self.obj) # todo access not threadsafe self.declarer.on_discard(self.obj) else: - if isinstance(payload, QueueDeclareOk): - self.obj.name = payload.queue - self.span_finished() if self.fut is not None: self.fut.set_result(None) -- GitLab