Commit 2a4079ee by Matt Martz

Update format fields to work with python2.6

parent f44957de
......@@ -150,7 +150,7 @@ class CacheModule(BaseCacheModule):
self._keys = CacheModuleKeys(self._cache, self._cache.get(CacheModuleKeys.PREFIX) or [])
def _make_key(self, key):
return "{}{}".format(self._prefix, key)
return "{0}{1}".format(self._prefix, key)
def _expire_keys(self):
if self._timeout > 0:
......
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