mirror of
https://github.com/m-labs/artiq.git
synced 2025-01-31 04:40:20 +08:00
fix accidental revert of f42bea06a8
This commit is contained in:
parent
301c734fb6
commit
2ef16331ea
@ -116,11 +116,6 @@ class DatasetManager:
|
|||||||
self._broadcaster.publish = ddb.update
|
self._broadcaster.publish = ddb.update
|
||||||
|
|
||||||
def set(self, key, value, broadcast=False, persist=False, archive=True):
|
def set(self, key, value, broadcast=False, persist=False, archive=True):
|
||||||
if key in self.archive:
|
|
||||||
logger.warning("Modifying dataset '%s' which is in archive, "
|
|
||||||
"archive will remain untouched",
|
|
||||||
key, stack_info=True)
|
|
||||||
|
|
||||||
if persist:
|
if persist:
|
||||||
broadcast = True
|
broadcast = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user