master/worker_db: set default value for archive

This commit is contained in:
Sebastien Bourdeauducq 2016-10-19 20:12:16 +08:00
parent 5d184f8061
commit 6aa13fbf25

View File

@ -221,7 +221,7 @@ class DatasetManager:
index = slice(*index)
setitem(target, index, value)
def get(self, key, archive):
def get(self, key, archive=False):
if key in self.local:
return self.local[key]
else: