From cd81ee1ff2dd27dbb4ab6c54bf5adde2bd7190ff Mon Sep 17 00:00:00 2001 From: duanhongyi Date: Tue, 21 Jul 2015 11:24:17 +0800 Subject: add default_kwargs to Client --- pymemcache/client/hash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pymemcache/client/hash.py') diff --git a/pymemcache/client/hash.py b/pymemcache/client/hash.py index 393f6d0..65ed34f 100644 --- a/pymemcache/client/hash.py +++ b/pymemcache/client/hash.py @@ -101,7 +101,7 @@ class HashClient(object): **self.default_kwargs ) else: - client = Client((server, port)) + client = Client((server, port), **self.default_kwargs) self.clients[key] = client self.hasher.add_node(key) -- cgit v1.2.1