diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-01-20 19:04:20 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-01-20 19:04:20 +0000 |
commit | f828ece0a9a1ccb1c5699d25479ad3d8e2c64a34 (patch) | |
tree | 2c92e649a06980eda558f179fab13e4d6c3a7147 /gpscap.py | |
parent | 607f804cd1a681c720a6620061e2d280d9d9a2a6 (diff) | |
download | gpsd-f828ece0a9a1ccb1c5699d25479ad3d8e2c64a34.tar.gz |
Show PPS in the hardware table.
Diffstat (limited to 'gpscap.py')
-rw-r--r-- | gpscap.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -96,7 +96,10 @@ class GPSDictionary(ConfigParser.RawConfigParser): if self.has_option(dev, "subtype"): engine += " (" + self.get(dev, "subtype") + ")" ofp.write("<td>%s</td>\n" % engine) - ofp.write("<td>%s</td>\n" % self.get(dev, "interfaces")) + interfaces = self.get(dev, "interfaces") + if self.has_option(dev, "pps"): + interfaces += ",PPS" + ofp.write("<td>%s</td>\n" % interfaces) tested = "" if self.get(dev, "status") == "broken": tested = "Broken" |