diff --git a/kombu/entity.py b/kombu/entity.py index a9b20a6d..9a5c393c 100644 --- a/kombu/entity.py +++ b/kombu/entity.py @@ -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.