[Git][NTPsec/ntpsec][master] Fixed scrambled unit abbreviations

Ian Bruene gitlab at mg.gitlab.com
Fri Aug 25 16:50:30 UTC 2017


Ian Bruene pushed to branch master at NTPsec / ntpsec


Commits:
3d0e4150 by Ian Bruene at 2017-08-25T11:49:19-05:00
Fixed scrambled unit abbreviations

- - - - -


1 changed file:

- pylib/util.py


Changes:

=====================================
pylib/util.py
=====================================
--- a/pylib/util.py
+++ b/pylib/util.py
@@ -39,10 +39,10 @@ UNIT_MS = "ms"       # milli second
 UNIT_S = "s"         # second
 UNIT_KS = "ks"       # kilo seconds
 UNITS_SEC = (UNIT_NS, UNIT_US, UNIT_MS, UNIT_S, UNIT_KS)
-UNIT_PPT = u"‰"      # parts per thousand
+UNIT_PPT = "ppt"     # parts per trillion
 UNIT_PPB = "ppb"     # parts per billion
 UNIT_PPM = "ppm"     # parts per million
-UNIT_PPK = "ppk"     # parts per ??
+UNIT_PPK = u"‰"      # parts per thousand
 UNITS_PPX = (UNIT_PPT, UNIT_PPB, UNIT_PPM, UNIT_PPK)
 unitgroups = (UNITS_SEC, UNITS_PPX)
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/3d0e4150455395593d01f13197b83dc538018c9c

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/3d0e4150455395593d01f13197b83dc538018c9c
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/20170825/1fd68209/attachment.html>


More information about the vc mailing list