[Git][NTPsec/ntpsec][master] Fix printout bug when ^C out of mrulist

Hal Murray gitlab at mg.gitlab.com
Wed Dec 28 13:01:07 UTC 2016


Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
a027775f by Hal Murray at 2016-12-28T05:00:21-08:00
Fix printout bug when ^C out of mrulist

- - - - -


1 changed file:

- ntpclients/ntpq


Changes:

=====================================
ntpclients/ntpq
=====================================
--- a/ntpclients/ntpq
+++ b/ntpclients/ntpq
@@ -1245,6 +1245,7 @@ usage: config_from_file <configuration filename>
                 if not span.is_complete():
                     self.say("mrulist retrieval interrupted by operator.\n"
                          "Displaying partial client list.\n")
+                    span.now = time.time()
                 try:
                     delta1 = time.time() - self.session.start
                     self.say(ntp.util.MRUSummary.header + "\n")



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


More information about the vc mailing list