[Git][NTPsec/ntpsec][master] Fixed lack of 4th digit in unitless display.
Eric S. Raymond
gitlab at mg.gitlab.com
Tue Apr 18 20:55:01 UTC 2017
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
51acd57a by Ian Bruene at 2017-04-18T14:08:27-05:00
Fixed lack of 4th digit in unitless display.
- - - - -
1 changed file:
- pylib/util.py
Changes:
=====================================
pylib/util.py
=====================================
--- a/pylib/util.py
+++ b/pylib/util.py
@@ -756,8 +756,7 @@ class PeerSummary:
reach = value
elif name == "delay":
estdelay = rawvalue if self.showunits else value
- elif name == "delay-s":
- if len(value) > 6 and value[-7] == ".":
+ if len(rawvalue) > 6 and rawvalue[-7] == ".":
saw6 = True
elif name == "offset":
estoffset = rawvalue if self.showunits else value
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/51acd57ab9fbc7baf6ea64f0b882249eb558210d
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/51acd57ab9fbc7baf6ea64f0b882249eb558210d
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170418/436af7ee/attachment.html>
More information about the vc
mailing list