summaryrefslogtreecommitdiff
path: root/xgps
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-08-26 18:17:28 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-08-26 18:17:28 -0400
commit418e7183c7c2878b47b2414829be90fdfab86fcc (patch)
tree0296fe049eb9bdd979157679358fe18f224a731b /xgps
parenta2990776f9c2d463b08a4d709bceb2ad96ecd3e4 (diff)
downloadgpsd-418e7183c7c2878b47b2414829be90fdfab86fcc.tar.gz
pychecker cleanup.
Diffstat (limited to 'xgps')
-rwxr-xr-xxgps4
1 files changed, 2 insertions, 2 deletions
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()