diff options
author | Cody Scot <cody.j.b.scott@gmail.com> | 2018-10-26 09:51:58 -0400 |
---|---|---|
committer | Cody Scot <cody.j.b.scott@gmail.com> | 2018-10-26 09:51:58 -0400 |
commit | c0cc0a17430b02fc3d8bbe9ad17025d3b55426d8 (patch) | |
tree | 601a0c88e5ab2f5d2a9e0528d5bd824ffcd9374f /redis/connection.py | |
parent | 0d6c5f28ef87c83df5540abc358252cae3d2060e (diff) | |
download | redis-py-c0cc0a17430b02fc3d8bbe9ad17025d3b55426d8.tar.gz |
Fix ConnectionPool repr when using default values
Diffstat (limited to 'redis/connection.py')
-rwxr-xr-x | redis/connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |