forked from M-Labs/artiq
master/worker_db: reduce exception backtrace clutter of get_dataset. Closes #168
This commit is contained in:
parent
828b48ad89
commit
ec328cf5e1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue