diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2011-05-25 12:18:38 -0700 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2011-05-25 12:18:38 -0700 |
commit | b0cc6b9662ac73a2083d18aa7c26f38ca3f5316b (patch) | |
tree | 9b33093730c1bebb82815584887c627ff6a3cbee /redis/connection.py | |
parent | e2b6a8068bef111f13834ee298d7d931a1070773 (diff) | |
download | redis-py-b0cc6b9662ac73a2083d18aa7c26f38ca3f5316b.tar.gz |
ConnectionPool's get_connection() now can take optional kwargs
Diffstat (limited to 'redis/connection.py')
-rw-r--r-- | redis/connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/connection.py b/redis/connection.py index 061ee3a..5d6e036 100644 --- a/redis/connection.py +++ b/redis/connection.py @@ -250,7 +250,7 @@ class ConnectionPool(object): self._available_connections = [] self._in_use_connections = set() - def get_connection(self, command_name, *keys): + def get_connection(self, command_name, *keys, **options): "Get a connection from the pool" try: connection = self._available_connections.pop() |