[Git][NTPsec/ntpsec][master] ntpviz: pep8 tweak, too many spaecs.

Gary E. Miller gitlab at mg.gitlab.com
Fri Mar 24 00:12:13 UTC 2017


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
ff8f62c9 by Gary E. Miller at 2017-03-23T17:11:41-07:00
ntpviz: pep8 tweak, too many spaecs.

- - - - -


1 changed file:

- ntpclients/ntpviz


Changes:

=====================================
ntpclients/ntpviz
=====================================
--- a/ntpclients/ntpviz
+++ b/ntpclients/ntpviz
@@ -269,7 +269,7 @@ class VizStats(ntp.statfiles.NTPStats):
             # range the data
             v *= self.multiplier
             self.percs[k] = round(v, 4)
-            if 'ppm' == self.unit and  0.020 >  abs(self.percs[k]):
+            if 'ppm' == self.unit and 0.020 > abs(self.percs[k]):
                 self.percs_f[k] = format(v, ",.4f")
             else:
                 self.percs_f[k] = format(v, ",.3f")



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/ff8f62c9fc3d52c4a96f535fd9a267a5c48e54c2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170324/d4284b79/attachment.html>


More information about the vc mailing list