summaryrefslogtreecommitdiff
path: root/gpscap.py
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-10-04 17:34:54 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-10-04 17:34:54 -0400
commit64d49461e45acc1cf547c126004755f06d5b0431 (patch)
tree34cc113cb93d1963e54c451b7bc4f3af1eaa9871 /gpscap.py
parentb2627fafbb5542fbf58e4b51a5dc4e2806b8c733 (diff)
downloadgpsd-64d49461e45acc1cf547c126004755f06d5b0431.tar.gz
Changed our HTML conformance target from XHTML to HTML 4.01.
Diffstat (limited to 'gpscap.py')
-rw-r--r--gpscap.py20
1 files changed, 10 insertions, 10 deletions
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):
</tr>
"""
vhead1 = "<tr><td style='text-align:center;' colspan='7'><a href='%s'>%s</a></td></tr>\n"
- vhead2 = "<tr><td style='text-align:center;' colspan='7'><a href='%s'>%s</a><br/><p>%s</p></td></tr>\n"
+ vhead2 = "<tr><td style='text-align:center;' colspan='7'><a href='%s'>%s</a><br><p>%s</p></td></tr>\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 = "<a href='%s'>%s</a>" % (self.get(dev, "techdoc"), dev)
if self.has_option(dev, "discontinued"):
- namefield = namefield + "&nbsp;<img title='Device discontinued' src='discontinued.png' alt='Discontinued icon'/>"
+ namefield = namefield + "&nbsp;<img title='Device discontinued' src='discontinued.png' alt='Discontinued icon'>"
ofp.write("<td>%s</td>\n" % namefield)
ofp.write("<td>%s</td>\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 += "<img title='Have regression test' src='regression.png' alt='Regression-test icon'/>"
+ testfield += "<img title='Have regression test' src='regression.png' alt='Regression-test icon'>"
else:
testfield += tested
if self.has_option(dev, "noconfigure"):
- testfield += "<img title='Requires -b option' src='noconfigure.png' alt='No-configure icon'/>"
+ testfield += "<img title='Requires -b option' src='noconfigure.png' alt='No-configure icon'>"
if self.get(dev, "rating") == "excellent":
- testfield += "<img src='star.png' alt='Star icon'/><img src='star.png' alt='Star icon'/><img src='star.png' alt='Star icon'/><img src='star.png' alt='Star icon'/>"
+ testfield += "<img src='star.png' alt='Star icon'><img src='star.png' alt='Star icon'><img src='star.png' alt='Star icon'><img src='star.png' alt='Star icon'>"
elif self.get(dev, "rating") == "good":
- testfield += "<img src='star.png' alt='Star icon'/><img src='star.png' alt='Star icon'/><img src='star.png' alt='Star icon'/>"
+ testfield += "<img src='star.png' alt='Star icon'><img src='star.png' alt='Star icon'><img src='star.png' alt='Star icon'>"
elif self.get(dev, "rating") == "fair":
- testfield += "<img src='star.png' alt='Star icon'/><img src='star.png' alt='Star icon'/>"
+ testfield += "<img src='star.png' alt='Star icon'><img src='star.png' alt='Star icon'>"
elif self.get(dev, "rating") == "poor":
- testfield += "<img src='star.png' alt='Star icon'/>"
+ testfield += "<img src='star.png' alt='Star icon'>"
elif self.get(dev, "rating") == "broken":
- testfield += "<img title='Device is broken' src='bomb.png' alt='Bomb icon'/>"
+ testfield += "<img title='Device is broken' src='bomb.png' alt='Bomb icon'>"
if self.has_option(dev, "usbchip") and self.get(dev, "usbchip") in hotpluggables:
- testfield += "<img src='hotplug.png' alt='Hotplug icon'/>"
+ testfield += "<img src='hotplug.png' alt='Hotplug icon'>"
ofp.write("<td>%s</td>\n" % testfield)
nmea = "&nbsp;"
if self.has_option(dev, "nmea"):