mirror of https://github.com/m-labs/artiq.git
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