We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b45f8d3 commit eeb3659Copy full SHA for eeb3659
keyvaluestore/managers.py
@@ -12,11 +12,11 @@ def get_value_for_key(self, key):
12
13
if not cached:
14
try:
15
- obj = self.get(key=cached_key)
+ obj = self.get(key=key)
16
cache.set(cached_key, obj.value)
17
18
return obj.value
19
except:
20
raise KeyNotExistingException(_(u"The request key '%s' could not be found." % (key,)))
21
else:
22
- return cached
+ return cached
0 commit comments