diff --git a/kombu/connection.py b/kombu/connection.py index 69ffaefc..0762650d 100644 --- a/kombu/connection.py +++ b/kombu/connection.py @@ -362,10 +362,7 @@ class BrokerConnection(object): def __repr__(self): """``x.__repr__() <==> repr(x)``""" - info = self.info() - return "" % ( - ", ".join("%s=%r" % (item, info[item]) - for item in info.keys()[:8])) + return "" % self.as_uri() def __copy__(self): """``x.__copy__() <==> copy(x)``"""