Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coolamqp
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public
coolamqp
Commits
50afae24
Commit
50afae24
authored
4 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
1.2.2 bugfix release
parent
563ad6f9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+1
-1
1 addition, 1 deletion
CHANGELOG.md
coolamqp/__init__.py
+1
-1
1 addition, 1 deletion
coolamqp/__init__.py
coolamqp/attaches/consumer.py
+9
-8
9 additions, 8 deletions
coolamqp/attaches/consumer.py
with
11 additions
and
10 deletions
CHANGELOG.md
+
1
−
1
View file @
50afae24
# v1.2.2
# v1.2.2
*
_TBA_
*
bugfix release: don't bind if queue is topic
# v1.2.1
# v1.2.1
...
...
This diff is collapsed.
Click to expand it.
coolamqp/__init__.py
+
1
−
1
View file @
50afae24
__version__
=
'
1.2.2
_a1
'
__version__
=
'
1.2.2
'
This diff is collapsed.
Click to expand it.
coolamqp/attaches/consumer.py
+
9
−
8
View file @
50afae24
...
@@ -408,14 +408,15 @@ class Consumer(Channeler):
...
@@ -408,14 +408,15 @@ class Consumer(Channeler):
# We need any form of binding.
# We need any form of binding.
if
self
.
queue
.
exchange
is
not
None
:
if
self
.
queue
.
exchange
is
not
None
:
self
.
method_and_watch
(
if
self
.
queue
.
exchange
.
type
!=
'
topic
'
:
QueueBind
(
self
.
method_and_watch
(
self
.
queue
.
name
,
QueueBind
(
self
.
queue
.
exchange
.
name
.
encode
(
'
utf8
'
),
self
.
queue
.
name
,
b
''
,
False
,
[]),
self
.
queue
.
exchange
.
name
.
encode
(
'
utf8
'
),
QueueBindOk
,
b
''
,
False
,
[]),
self
.
on_setup
QueueBindOk
,
)
self
.
on_setup
)
else
:
else
:
# default exchange, pretend it was bind ok
# default exchange, pretend it was bind ok
self
.
on_setup
(
QueueBindOk
())
self
.
on_setup
(
QueueBindOk
())
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment