[Git][NTPsec/ntpsec][master] Sort temps keys

Gary E. Miller gitlab at mg.gitlab.com
Wed Aug 31 22:04:20 UTC 2016


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


Commits:
5ecd1ee3 by Gary E. Miller at 2016-08-31T15:03:49-07:00
Sort temps keys

- - - - -


1 changed file:

- ntpstats/ntpviz


Changes:

=====================================
ntpstats/ntpviz
=====================================
--- a/ntpstats/ntpviz
+++ b/ntpstats/ntpviz
@@ -99,6 +99,7 @@ plot \
         sitename = self.sitename
         tempsmap = self.tempssplit()
         tempslist = list(tempsmap.keys())
+        tempslist.sort()
 
         if not len( tempsmap) or not len( tempslist):
             sys.stderr.write("ntpviz: WARNING: no temps to graph\n")



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/5ecd1ee30176dc83fb72c2e3b0391b67c49b6674
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160831/53c84b2b/attachment.html>


More information about the vc mailing list