mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
style
This commit is contained in:
parent
37c7ea31c3
commit
26e737f61f
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user