forked from M-Labs/artiq
master: keep dataset manager consistent when set_dataset is called with contradictory attributes
This commit is contained in:
parent
69d96b0158
commit
5d184f8061
|
@ -196,8 +196,12 @@ class DatasetManager:
|
|||
broadcast = True
|
||||
if broadcast:
|
||||
self.broadcast[key] = persist, value
|
||||
elif key in self.broadcast.read:
|
||||
del self.broadcast[key]
|
||||
if save:
|
||||
self.local[key] = value
|
||||
elif key in self.local:
|
||||
del self.local[key]
|
||||
|
||||
def mutate(self, key, index, value):
|
||||
target = None
|
||||
|
|
Loading…
Reference in New Issue