Python ntpq

Achim Gratz Stromeko at nexgo.de
Sun Nov 27 12:02:45 UTC 2016


Achim Gratz writes:
> Eric S. Raymond writes:
>> Oh, bletch.  I see the problem.  I'm going to have to write a real
>> parser rather than using a naive split(",") call.
>>
>> ...or maybe not.  Rather klugey fix pushed.  Complain if it needs
>> futher work.
>
> Current master is mysteriously broken:

Bisecting to:
[82220634479a5356533b41e597b8525220e88c94] In pyntpdig, make repr() for packets work.

Backing out this change makes it work again:

--- a/pylib/packet.py
+++ b/pylib/packet.py
@@ -183,7 +183,7 @@ from __future__ import print_function, division
 import sys, socket, select, struct, collections, string
 import getpass, hashlib, time
 from ntp.ntpc import lfptofloat
-import ntp.util
+
 
 # General notes on Python 2/3 compatibility:
 #


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds



More information about the devel mailing list