Commit 4e51a56a by Nimisha Asthagiri

fixup! block_cache storage optimization.

parent ac7879fd
...@@ -42,7 +42,7 @@ class MockCache(object): ...@@ -42,7 +42,7 @@ class MockCache(object):
def set(self, key, val): def set(self, key, val):
self.map[key] = val self.map[key] = val
def get(self, key, default): def get(self, key, default=None):
return self.map.get(key, default) return self.map.get(key, default)
def set_many(self, map): def set_many(self, map):
......
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