**kwargs patch #5

Merged
merged 1 commit into from Nov 6, 2012
Jump to file
+2 −2
Split
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."""