From 8b3a2be479ba15aaf2c7114a9ad9f0557ec1535b Mon Sep 17 00:00:00 2001 From: Doggy Date: Fri, 14 Sep 2012 15:50:45 +0400 Subject: [PATCH] Fix MemcacheConnectionManager codec --- lib/geventmemcache/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/geventmemcache/client.py b/lib/geventmemcache/client.py index ceaa58e..7c10fc6 100644 --- a/lib/geventmemcache/client.py +++ b/lib/geventmemcache/client.py @@ -230,7 +230,7 @@ def __init__(self): def get_connection(self, address, protocol): """gets a connection to memcached servers at given address using given protocol.""" if not address in self._connections: - self._connections[address] = MemcacheConnection(address, protocol) + self._connections[address] = MemcacheConnection(address, protocol,protocol._codec) return self._connections[address]