Permalink
Browse files

Merge pull request #5 from wyuenho/master

**kwargs patch
  • Loading branch information...
2 parents 2934b44 + 56aca64 commit 4845f8d5e12fd953ecad624b4e1e89f79a082a3e @ask committed Nov 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 redish/client.py
View
@@ -31,12 +31,12 @@ class Client(object):
#serializer = anyjson
def __init__(self, host=None, port=None, db=None,
- serializer=None):
+ serializer=None, **kwargs):
self.host = host or self.host
self.port = port or self.port
self.serializer = serializer or self.serializer
self.db = db or self.db
- self.api = _RedisClient(self.host, self.port, self.db)
+ self.api = _RedisClient(self.host, self.port, self.db, **kwargs)
def id(self, name):
"""Return the next id for a name."""

0 comments on commit 4845f8d

Please sign in to comment.