master/worker_db: reduce exception backtrace clutter of get_dataset. Closes #168

This commit is contained in:
Sebastien Bourdeauducq 2015-10-28 17:50:48 +08:00
parent 828b48ad89
commit ec328cf5e1

View File

@ -191,7 +191,8 @@ class DatasetManager:
try:
return self.local[key]
except KeyError:
return self.ddb.get(key)
pass
return self.ddb.get(key)
def write_hdf5(self, f):
result_dict_to_hdf5(f, self.local)