2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 20:53:35 +08:00
This commit is contained in:
Sebastien Bourdeauducq 2015-06-06 00:55:36 +08:00
parent 37c7ea31c3
commit 26e737f61f

View File

@ -37,8 +37,8 @@ class SyncStructCase(unittest.TestCase):
return init
def notify(self, mod):
if (mod["action"] == "init" and "finished" in mod["struct"])\
or (mod["action"] == "setitem" and mod["key"] == "finished"):
if ((mod["action"] == "init" and "finished" in mod["struct"])
or (mod["action"] == "setitem" and mod["key"] == "finished")):
self.receiving_done.set()
def setUp(self):