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
1 changed files with 1 additions and 1 deletions

View File

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