summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2004-09-12 02:10:04 +0000
committerEric S. Raymond <esr@thyrsus.com>2004-09-12 02:10:04 +0000
commitd36279eb47abb5a17e3f6cccbd069351927fef00 (patch)
tree8e7785322a989fa3d0db318ba0153b8044402021
parentb0227c05e10e3ed62ccb3a5dfdcd1752d95e69ec (diff)
downloadgpsd-d36279eb47abb5a17e3f6cccbd069351927fef00.tar.gz
Properly timestamp everythihing.
-rwxr-xr-xgpsprobe6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpsprobe b/gpsprobe
index 158499b1..df624e8d 100755
--- a/gpsprobe
+++ b/gpsprobe
@@ -71,7 +71,7 @@ if __name__ == '__main__':
return round(n*100) / 100.0
def register(trait):
- if ("# " + trait) not in notifications:
+ if trait not in notifications:
notifications.append("# " + trait)
def count(sentence):
@@ -157,7 +157,7 @@ if __name__ == '__main__':
if distribution[interval] > maxfreq:
cycles[key] = interval
maxfreq = distribution[interval]
- print "# This is a gnuplot script generated by gpsprobe, %s.\n#", time.asctime()
+ print "# This is a gnuplot script generated by gpsprobe."
for key in cycles:
if len(frequencies[key].values()) == 1:
if cycles[key] == 1:
@@ -176,7 +176,7 @@ if __name__ == '__main__':
print "# Send cycle is once per %d seconds." % sendcycle
# Step three: print out registered traits
- sys.stdout.write("".join(notifications) + "#\n")
+ sys.stdout.write("".join(notifications))
# Step four: run an empirical check on uncertainty of position.
if len(fixes) == 0: