Commits

Jason Moiron committed fa8bd81

remove commented out add/set from memcached backend

  • Participants
  • Parent commits 1d38482

Comments (0)

Files changed (1)

File johnny/backends/memcached.py

         if timeout == 0: return 0
         return super(CacheClass, self)._get_memcache_timeout(timeout)
 
-    #def add(self, key, value, timeout=None):
-    #    if isinstance(value, unicode):
-    #        value = value.encode('utf-8')
-    #    if timeout is None:
-    #        timeout = self.default_timeout
-    #    return self._cache.add(smart_str(key), value, timeout)
-
-    #def set(self, key, value, timeout=None):
-    #    if isinstance(value, unicode):
-    #        value = value.encode('utf-8')
-    #    if timeout is None:
-    #        timeout = self.default_timeout
-    #    self._cache.set(smart_str(key), value, timeout)
-
-