[Python-modules-commits] [python-amqp] 11/15: Fixed Python 3 syntax error
Michael Fladischer
fladi at moszumanska.debian.org
Sat Dec 19 17:55:11 UTC 2015
This is an automated email from the git hooks/post-receive script.
fladi pushed a commit to branch master
in repository python-amqp.
commit ea44383e4cde788f2bfa127ab4e7e76bca73a0f9
Author: Thomas Goirand <zigo at debian.org>
Date: Thu Oct 8 11:06:37 2015 -0700
Fixed Python 3 syntax error
Note: no need to forward this upstream as the code in this file has gone from
the master branch.
Forwarded: no
Last-Update: 2015-06-19
---
amqp/utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/amqp/utils.py b/amqp/utils.py
index 900d2aa..bd74011 100644
--- a/amqp/utils.py
+++ b/amqp/utils.py
@@ -35,7 +35,7 @@ class promise(object):
def __call__(self, *args, **kwargs):
try:
self.value = self.fun(
- *self.args + args if self.args else args,
+ *(self.args + args if self.args else args),
**dict(self.kwargs, **kwargs) if self.kwargs else kwargs
)
except Exception as exc:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-amqp.git
More information about the Python-modules-commits
mailing list