Commit c195401f authored by Ales Zoulek's avatar Ales Zoulek

bugfix for calling mget with empty keys

parent 113c1b6d
......@@ -137,6 +137,8 @@ class CacheClass(BaseCache):
"""
Retrieve many keys.
"""
if not keys:
return {}
recovered_data = SortedDict()
new_keys = map(lambda key: self.make_key(key, version=version), keys)
map_keys = dict(zip(new_keys, keys))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment