This commit is contained in:
Ask Solem 2016-03-23 12:21:35 -07:00
parent 9598b876ac
commit bd5bf1c1c2
1 changed files with 2 additions and 2 deletions

View File

@ -177,8 +177,8 @@ class Exchange(MaybeChannelBound):
def _can_declare(self):
return not self.no_declare and (
self.name and not self.name.startswith(
INTERNAL_EXCHANGE_PREFIX))
self.name and not self.name.startswith(
INTERNAL_EXCHANGE_PREFIX))
def declare(self, nowait=False, passive=None):
"""Declare the exchange.