[Git][NTPsec/ntpsec][master] Address GitLab issue #177: ntpq > TypeError in packet.py
Eric S. Raymond
gitlab at mg.gitlab.com
Fri Dec 2 02:40:35 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
d36ff3cb by Eric S. Raymond at 2016-12-01T21:40:26-05:00
Address GitLab issue #177: ntpq > TypeError in packet.py
- - - - -
1 changed file:
- pylib/util.py
Changes:
=====================================
pylib/util.py
=====================================
--- a/pylib/util.py
+++ b/pylib/util.py
@@ -80,7 +80,7 @@ def termsize():
fcntl.ioctl(2, termios.TIOCGWINSZ,
struct.pack('HHHH', 0, 0, 0, 0)))
size = (w, h)
- return TermSize(w, h)
+ return TermSize(*size)
class PeerSummary:
"Reusable report generator for peer statistics"
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/d36ff3cb7ecaabc257b201ee444ccc2a15f2396d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161202/6ee4472a/attachment.html>
More information about the vc
mailing list