def get(self, key):
path = FormatKey(key)
def get_from_base_path(base_path):
- return self._cache.GetFromFile('%s/%s' % (base_path, path)).Get()
+ return self._cache.GetFromFile(base_path + path).Get()
base_paths = (INTROS_TEMPLATES, ARTICLES_TEMPLATES)
for base_path in base_paths:
try: