Update format fields to work with python2.6

pull/8856/head
Matt Martz 10 years ago
parent f44957de5c
commit 2a4079eeb6

@ -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:

Loading…
Cancel
Save