Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
NTPsec
ntpsec
Commits
59f98cb3
Commit
59f98cb3
authored
Nov 26, 2016
by
Eric S. Raymond
Browse files
Addrrss GitLab issue
#165
: ntpq -p fails on Python3
parent
09ffc346
Changes
1
Hide whitespace changes
Inline
Side-by-side
pylib/packet.py
View file @
59f98cb3
...
...
@@ -1048,7 +1048,7 @@ class ControlSession:
else
:
if
self
.
debug
:
warn
(
"Fragment collection ends
\n
"
)
self
.
response
=
""
.
join
([
frag
.
data
for
frag
in
fragments
])
self
.
response
=
polybytes
(
""
.
join
([
polystr
(
frag
.
data
)
for
frag
in
fragments
])
)
if
self
.
debug
>=
4
:
sys
.
stdout
.
write
(
"Response packet:
\n
"
)
dump_hex_printable
(
self
.
response
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment