1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From 50d9763b0bd213efc79e0633139a555e4c933682 Mon Sep 17 00:00:00 2001
From: Thomas Goirand <zigo@debian.org>
Date: Thu, 8 Oct 2015 11:06:37 -0700
Subject: 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:
|