Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
synnefo
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
synnefo
Commits
ffa876a6
Commit
ffa876a6
authored
11 years ago
by
Christos Stavrakakis
Browse files
Options
Downloads
Patches
Plain Diff
common: Fix type error issue
Fix TypError issue cause by an unknown 'timeout' argument to 'get_confirms' call.
parent
f7ed7fa7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
snf-common/synnefo/lib/amqp/amqp_puka.py
+1
-1
1 addition, 1 deletion
snf-common/synnefo/lib/amqp/amqp_puka.py
with
1 addition
and
1 deletion
snf-common/synnefo/lib/amqp/amqp_puka.py
+
1
−
1
View file @
ffa876a6
...
@@ -414,7 +414,7 @@ class AMQPPukaClient(object):
...
@@ -414,7 +414,7 @@ class AMQPPukaClient(object):
# Try to get confirmations
# Try to get confirmations
if
self
.
confirms
and
self
.
unacked
:
if
self
.
confirms
and
self
.
unacked
:
self
.
log
.
debug
(
"
Getting pending publisher confirmations..
"
)
self
.
log
.
debug
(
"
Getting pending publisher confirmations..
"
)
self
.
get_confirms
(
timeout
=
timeout
)
self
.
get_confirms
()
# And close the connection
# And close the connection
close_promise
=
self
.
client
.
close
()
close_promise
=
self
.
client
.
close
()
self
.
log
.
debug
(
"
Waiting for connection to close..
"
)
self
.
log
.
debug
(
"
Waiting for connection to close..
"
)
...
...
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