diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2019-01-27 11:39:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-27 11:39:19 -0800 |
commit | f6fedf95761313485cd9dc3f2d60f224da7a4aab (patch) | |
tree | 13bb3a9ce7987751f7d5b1ddae4ac90b74cd417a | |
parent | 6cea5260b6138b91233008f7e690f1eec2b7988e (diff) | |
parent | c0cc0a17430b02fc3d8bbe9ad17025d3b55426d8 (diff) | |
download | redis-py-f6fedf95761313485cd9dc3f2d60f224da7a4aab.tar.gz |
Merge pull request #1043 from Siecje/repr
Fix ConnectionPool repr when using default values
-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 ea06241..9181fba 100755 --- a/redis/connection.py +++ b/redis/connection.py @@ -941,7 +941,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): |