From 64d49461e45acc1cf547c126004755f06d5b0431 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 4 Oct 2011 17:34:54 -0400 Subject: Changed our HTML conformance target from XHTML to HTML 4.01. --- gpscap.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'gpscap.py') diff --git a/gpscap.py b/gpscap.py index 99b503a3..6127217e 100644 --- a/gpscap.py +++ b/gpscap.py @@ -69,7 +69,7 @@ class GPSDictionary(ConfigParser.RawConfigParser): """ vhead1 = "%s\n" - vhead2 = "%s

%s

\n" + vhead2 = "%s

%s

\n" hotpluggables = ("pl2303", "CP2101") ofp.write(thead % (len(self.devices), len(self.vendors))) for vendor in self.vendors: @@ -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 + " Discontinued icon" + 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 += "Regression-test icon" + testfield += "Regression-test icon" else: testfield += tested if self.has_option(dev, "noconfigure"): - testfield += "No-configure icon" + testfield += "No-configure icon" if self.get(dev, "rating") == "excellent": - testfield += "Star iconStar iconStar iconStar icon" + testfield += "Star iconStar iconStar iconStar icon" elif self.get(dev, "rating") == "good": - testfield += "Star iconStar iconStar icon" + testfield += "Star iconStar iconStar icon" elif self.get(dev, "rating") == "fair": - testfield += "Star iconStar icon" + testfield += "Star iconStar icon" elif self.get(dev, "rating") == "poor": - testfield += "Star icon" + testfield += "Star icon" elif self.get(dev, "rating") == "broken": - testfield += "Bomb icon" + testfield += "Bomb icon" if self.has_option(dev, "usbchip") and self.get(dev, "usbchip") in hotpluggables: - testfield += "Hotplug icon" + testfield += "Hotplug icon" ofp.write("%s\n" % testfield) nmea = " " if self.has_option(dev, "nmea"): -- cgit v1.2.1