From 98506f995a74dddfd0594801ce3f9e8538ad677c Mon Sep 17 00:00:00 2001 From: Paul Riseborough Date: Tue, 19 Jul 2022 10:17:20 +1000 Subject: [PATCH] Tools: Python coding style fixes --- Tools/autotest/arduplane.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tools/autotest/arduplane.py b/Tools/autotest/arduplane.py index ecb4ede11e..9a92cfe0fc 100644 --- a/Tools/autotest/arduplane.py +++ b/Tools/autotest/arduplane.py @@ -1735,7 +1735,7 @@ class AutoTestPlane(AutoTest): self.arm_vehicle() self.delay_sim_time(60) # simulate the effect of a blocked pitot tube - self.set_parameter("ARSPD_RATIO",0.1) + self.set_parameter("ARSPD_RATIO", 0.1) self.delay_sim_time(10) if (self.get_parameter("ARSPD_USE") == 0): self.progress("Faulty Sensor Disabled") @@ -1743,14 +1743,14 @@ class AutoTestPlane(AutoTest): raise NotAchievedException("Airspeed Sensor Not Disabled") self.delay_sim_time(20) # simulate the effect of blockage partially clearing - self.set_parameter("ARSPD_RATIO",1.0) + self.set_parameter("ARSPD_RATIO", 1.0) self.delay_sim_time(60) if (self.get_parameter("ARSPD_USE") == 0): self.progress("Faulty Sensor Remains Disabled") else: raise NotAchievedException("Fault Sensor Re-Enabled") # simulate the effect of blockage fully clearing - self.set_parameter("ARSPD_RATIO",2.0) + self.set_parameter("ARSPD_RATIO", 2.0) self.delay_sim_time(60) if (self.get_parameter("ARSPD_USE") == 1): self.progress("Sensor Re-Enabled")