Update format fields to work with python2.6
This commit is contained in:
parent
f44957de5c
commit
2a4079eeb6
1 changed files with 1 additions and 1 deletions
2
lib/ansible/cache/memcached.py
vendored
2
lib/ansible/cache/memcached.py
vendored
|
@ -150,7 +150,7 @@ class CacheModule(BaseCacheModule):
|
||||||
self._keys = CacheModuleKeys(self._cache, self._cache.get(CacheModuleKeys.PREFIX) or [])
|
self._keys = CacheModuleKeys(self._cache, self._cache.get(CacheModuleKeys.PREFIX) or [])
|
||||||
|
|
||||||
def _make_key(self, key):
|
def _make_key(self, key):
|
||||||
return "{}{}".format(self._prefix, key)
|
return "{0}{1}".format(self._prefix, key)
|
||||||
|
|
||||||
def _expire_keys(self):
|
def _expire_keys(self):
|
||||||
if self._timeout > 0:
|
if self._timeout > 0:
|
||||||
|
|
Loading…
Reference in a new issue