From 654bb6ffce03ff7949cbfdb6f36d8990e5d8077a Mon Sep 17 00:00:00 2001 From: cclauss Date: Sun, 24 Sep 2017 16:44:30 +0800 Subject: [PATCH] Tools: runplanetest.py: Remove redundant parenthesis This syntax error was mistakenly introduced in #6999. --- Tools/scripts/runplanetest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/scripts/runplanetest.py b/Tools/scripts/runplanetest.py index 684762da99..8f5ee53083 100755 --- a/Tools/scripts/runplanetest.py +++ b/Tools/scripts/runplanetest.py @@ -9,7 +9,7 @@ def wait_heartbeat(mav, timeout=10): while time.time() < start_time+timeout: if mav.recv_match(type='HEARTBEAT', blocking=True, timeout=0.5) is not None: return - raise Exception(("Failed to get heartbeat") + raise Exception("Failed to get heartbeat") def wait_mode(mav, modes, timeout=10): '''wait for one of a set of flight modes'''