Skip to content
Browse files

awesome kwargs ftw

  • Loading branch information...
1 parent 2934b44 commit 56aca64fc0a106a9a5cb1c3d8350cdf0af2911e6 @wyuenho wyuenho committed May 11, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 redish/client.py
View
4 redish/client.py
@@ -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 56aca64

Please sign in to comment.
Something went wrong with that request. Please try again.