forked from M-Labs/artiq
1
0
Fork 0
This commit is contained in:
Sebastien Bourdeauducq 2015-06-06 00:55:36 +08:00
parent 37c7ea31c3
commit 26e737f61f
1 changed files with 2 additions and 2 deletions

View File

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