From 248c24de6729332e394b626b1930d1d52047d6af Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 4 Oct 2011 13:57:34 -0400 Subject: More website cleanup. Except for bgcolor, width, and border attributes, all pages that claim to be validated actually are valid (again). --- gpscap.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'gpscap.py') diff --git a/gpscap.py b/gpscap.py index 2aed91b1..1109517a 100644 --- a/gpscap.py +++ b/gpscap.py @@ -98,7 +98,7 @@ class GPSDictionary(ConfigParser.RawConfigParser): if self.has_option(dev, "techdoc"): namefield = "%s" % (self.get(dev, "techdoc"), dev) if self.has_option(dev, "discontinued"): - namefield = namefield + " " + namefield = namefield + " Discontinued icon" ofp.write("%s\n" % namefield) ofp.write("%s\n" % self.get(dev, "packaging")) engine = self.get(dev, "engine") @@ -115,23 +115,23 @@ class GPSDictionary(ConfigParser.RawConfigParser): if self.has_option(dev, "tested"): tested = self.get(dev, "tested") if tested == "regression": - testfield += "" + testfield += "Regression-test icon" else: testfield += tested if self.has_option(dev, "noconfigure"): - testfield += "" + testfield += "No-configure icon" if self.get(dev, "rating") == "excellent": - testfield += "" + testfield += "Star iconStar iconStar iconStar icon" elif self.get(dev, "rating") == "good": - testfield += "" + testfield += "Star iconStar iconStar icon" elif self.get(dev, "rating") == "fair": - testfield += "" + testfield += "Star iconStar icon" elif self.get(dev, "rating") == "poor": - testfield += "" + testfield += "Star icon" elif self.get(dev, "rating") == "broken": - testfield += "" + testfield += "Bomb icon" if self.has_option(dev, "usbchip") and self.get(dev, "usbchip") in hotpluggables: - testfield += "" + testfield += "Hotplug icon" ofp.write("%s\n" % testfield) nmea = " " if self.has_option(dev, "nmea"): -- cgit v1.2.1