Commit 4b98dbf4 authored by Jannis Leidel's avatar Jannis Leidel Committed by Sean Bleier

Got rid of the incr and decr implementation since we can't really…

Got rid of the incr and decr implementation since we can't really increment/decrement the base64'd values.
parent 4bc27036
...@@ -98,15 +98,6 @@ class CacheClass(BaseCache): ...@@ -98,15 +98,6 @@ class CacheClass(BaseCache):
"Retrieve many keys." "Retrieve many keys."
return self._cache.mget(map(self._prepare_key, keys)) return self._cache.mget(map(self._prepare_key, keys))
def incr(self, key, delta=1):
"Atomically increment ``key`` by ``delta``."
key = self._prepare_key(key)
return self._cache.incr(key, delta)
def decr(self, key, delta=1):
"Atomically decrement ``key`` by ``delta``."
key = self._prepare_key(key)
return self._cache.decr(key, delta)
def close(self, **kwargs): def close(self, **kwargs):
""" """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment