From c0cc0a17430b02fc3d8bbe9ad17025d3b55426d8 Mon Sep 17 00:00:00 2001 From: Cody Scot Date: Fri, 26 Oct 2018 09:51:58 -0400 Subject: Fix ConnectionPool repr when using default values --- redis/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis/connection.py b/redis/connection.py index 6ad467a..c155333 100755 --- a/redis/connection.py +++ b/redis/connection.py @@ -937,7 +937,7 @@ class ConnectionPool(object): def __repr__(self): return "%s<%s>" % ( type(self).__name__, - self.connection_class.description_format % self.connection_kwargs, + repr(self.connection_class(**self.connection_kwargs)), ) def reset(self): -- cgit v1.2.1