diff options
Diffstat (limited to 'redis/utils.py')
-rw-r--r-- | redis/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redis/utils.py b/redis/utils.py index 3664708..26fb002 100644 --- a/redis/utils.py +++ b/redis/utils.py @@ -8,7 +8,7 @@ except ImportError: HIREDIS_AVAILABLE = False -def from_url(url, db=None, **kwargs): +def from_url(url, **kwargs): """ Returns an active Redis client generated from the given database URL. @@ -16,7 +16,7 @@ def from_url(url, db=None, **kwargs): none is provided. """ from redis.client import Redis - return Redis.from_url(url, db, **kwargs) + return Redis.from_url(url, **kwargs) @contextmanager |