[Git][NTPsec/ntpsec][master] Fix a bug in wide-node display in ntpq.

Eric S. Raymond gitlab at mg.gitlab.com
Sun Nov 27 01:11:02 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
5756d6c0 by Eric S. Raymond at 2016-11-26T20:10:40-05:00
Fix a bug in wide-node display in ntpq.

- - - - -


1 changed file:

- pylib/util.py


Changes:

=====================================
pylib/util.py
=====================================
--- a/pylib/util.py
+++ b/pylib/util.py
@@ -248,7 +248,7 @@ class PeerSummary:
             clock_name = srcadr
         if self.wideremote and len(clock_name) > self.namewidth:
             line += ("%c%s\n" % (c, clock_name))
-            line + (" " * (self.namewidth + 2))
+            line += (" " * (self.namewidth + 2))
         else:
             line += ("%c%-*.*s " % \
                              (c, self.namewidth, self.namewidth, clock_name[:self.namewidth]))



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/5756d6c0cdfaeeba12daf1a3d1ad8f16d0ae90a1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161127/919718e9/attachment.html>


More information about the vc mailing list