[Git][NTPsec/ntpsec][master] Reverse order of span entries in ntpmon MRU display.
Eric S. Raymond
gitlab at mg.gitlab.com
Thu Dec 8 22:30:55 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
040c4fa8 by Eric S. Raymond at 2016-12-08T17:30:42-05:00
Reverse order of span entries in ntpmon MRU display.
- - - - -
1 changed file:
- ntpclients/ntpmon
Changes:
=====================================
ntpclients/ntpmon
=====================================
--- a/ntpclients/ntpmon
+++ b/ntpclients/ntpmon
@@ -121,7 +121,7 @@ if __name__ == '__main__':
if span.entries:
stdscr.addstr(ntp.util.MRUSummary.header + "\n",
curses.A_BOLD)
- for entry in span.entries:
+ for entry in reversed(span.entries):
stdscr.addstr(mru_report.summary(entry) + "\n")
except curses.error:
# An addstr overran the screen, no worries
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/040c4fa8840a4f3e3a7c5011b7605849c86d5e95
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161208/1922d044/attachment.html>
More information about the vc
mailing list