From 26e737f61ffe594552ac2f88471a92f6088806ec Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 6 Jun 2015 00:55:36 +0800 Subject: [PATCH] style --- artiq/test/sync_struct.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/test/sync_struct.py b/artiq/test/sync_struct.py index 3509bae23..9644becf6 100644 --- a/artiq/test/sync_struct.py +++ b/artiq/test/sync_struct.py @@ -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):