Commit 59f98cb3 authored by Eric S. Raymond's avatar Eric S. Raymond
Browse files

Addrrss GitLab issue #165: ntpq -p fails on Python3

parent 09ffc346
......@@ -1048,7 +1048,7 @@ class ControlSession:
if self.debug:
warn("Fragment collection ends\n")
self.response = "".join([ for frag in fragments])
self.response = polybytes("".join([polystr( for frag in fragments]))
if self.debug >= 4:
sys.stdout.write("Response packet:\n")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment