mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
Merge branch 'master' of https://github.com/slafs/django-constance into slafs-master
This commit is contained in:
commit
7b435a3c7c
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class RedisBackend(Backend):
|
|||
if not keys:
|
||||
return []
|
||||
prefixed_keys = [self.add_prefix(key) for key in keys]
|
||||
values = (loads(value) for value in self._rd.mget(prefixed_keys))
|
||||
values = (loads(value) for value in self._rd.mget(prefixed_keys) if value)
|
||||
return itertools.izip(keys, values)
|
||||
|
||||
def set(self, key, value):
|
||||
|
|
|
|||
Loading…
Reference in a new issue