summaryrefslogtreecommitdiff
path: root/cheetah/CacheStore.py
diff options
context:
space:
mode:
authorR. Tyler Ballance <tyler@monkeypox.org>2009-12-27 16:39:49 -0800
committerR. Tyler Ballance <tyler@monkeypox.org>2009-12-27 16:39:49 -0800
commit9e8c047ae135e75791708af9dcbd6045e1b5cc59 (patch)
tree3446c117d03005f30f57bfc7d145848af1fb9f8a /cheetah/CacheStore.py
parent0476fec8362e4993f7edbe3978ed946f30a265d4 (diff)
downloadpython-cheetah-9e8c047ae135e75791708af9dcbd6045e1b5cc59.tar.gz
Remove old bundled memcached clientfuture
Diffstat (limited to 'cheetah/CacheStore.py')
-rw-r--r--cheetah/CacheStore.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/cheetah/CacheStore.py b/cheetah/CacheStore.py
index 8f57f33..8017018 100644
--- a/cheetah/CacheStore.py
+++ b/cheetah/CacheStore.py
@@ -16,8 +16,6 @@ delete(key)
'''
import time
-from Cheetah.Utils.memcache import Client as MemcachedClient
-
class Error(Exception):
pass
@@ -74,7 +72,7 @@ class MemcachedCacheStore(AbstractCacheStore):
def __init__(self, servers=None, debug=False):
if servers is None:
servers = self.servers
-
+ from memcache import Client as MemcachedClient
self._client = MemcachedClient(servers, debug)
def set(self, key, val, time=0):