summaryrefslogtreecommitdiff
path: root/kombu/entity.py
diff options
context:
space:
mode:
authorAsk Solem <ask@celeryproject.org>2015-07-13 12:22:16 -0700
committerAsk Solem <ask@celeryproject.org>2015-07-13 12:22:16 -0700
commit4ef2f10e15a784de56dcd290d60229020ab11090 (patch)
tree417106713d6886466a8e734b53493a966ab9896f /kombu/entity.py
parentd1decb5033fffc12cbd370b483ce81bbe6e42bc4 (diff)
downloadkombu-4ef2f10e15a784de56dcd290d60229020ab11090.tar.gz
Single item tuples no longer require whitespace
Diffstat (limited to 'kombu/entity.py')
-rw-r--r--kombu/entity.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kombu/entity.py b/kombu/entity.py
index 1f00fc76..a482e90a 100644
--- a/kombu/entity.py
+++ b/kombu/entity.py
@@ -164,7 +164,7 @@ class Exchange(MaybeChannelBound):
self.maybe_bind(channel)
def __hash__(self):
- return hash('E|%s' % (self.name, ))
+ return hash('E|%s' % (self.name,))
def declare(self, nowait=False, passive=None):
"""Declare the exchange.
@@ -345,7 +345,7 @@ class binding(object):
nowait=nowait)
def __repr__(self):
- return '<binding: %s>' % (self, )
+ return '<binding: %s>' % (self,)
def __str__(self):
return '%s->%s' % (
@@ -508,7 +508,7 @@ class Queue(MaybeChannelBound):
return bound
def __hash__(self):
- return hash('Q|%s' % (self.name, ))
+ return hash('Q|%s' % (self.name,))
def when_bound(self):
if self.exchange: