From 418e7183c7c2878b47b2414829be90fdfab86fcc Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 26 Aug 2011 18:17:28 -0400 Subject: pychecker cleanup. --- xgps | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xgps') diff --git a/xgps b/xgps index 25bad384..32c7411b 100755 --- a/xgps +++ b/xgps @@ -774,13 +774,13 @@ class Base: self.update_gpsdata(self.daemon.data) elif self.daemon.data["class"] == "GST": self.noiseview.update(self.daemon.data) - if self.noise_latch == False: + if not self.noise_latch: self.noise_latch = True self.uimanager.get_widget('/MenuBar/View/Noise').set_active(True) self.noisebox.show() elif self.daemon.data["class"] == "AIS": self.aisview.update(self.daemon.data) - if self.ais_latch == False: + if not self.ais_latch: self.ais_latch = True self.uimanager.get_widget('/MenuBar/View/AIS').set_active(True) self.aisbox.show() -- cgit v1.2.1