[Git][NTPsec/ntpsec][master] Fix syntax error
Eric S. Raymond
gitlab at mg.gitlab.com
Thu Nov 10 14:26:31 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
ed3636cb by Matt Selsky at 2016-11-10T08:53:53-05:00
Fix syntax error
xdata is a string that we're indexing into, not a function.
- - - - -
1 changed file:
- pylib/packet.py
Changes:
=====================================
pylib/packet.py
=====================================
--- a/pylib/packet.py
+++ b/pylib/packet.py
@@ -366,7 +366,7 @@ def dump_hex_printable(xdata):
i = restart
for idx in range(rowlen):
# Do not use curses.isprint(), netbsd base doesn't install curses
- if ord(xdata[i]) >= 32 and ord(xdata(i)) < 127:
+ if ord(xdata[i]) >= 32 and ord(xdata[i]) < 127:
sys.stdout.write(xdata[i])
else:
sys.stdout.write('.')
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/ed3636cbd06f98f42d36495aea8b7a8ff485824c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161110/3822506d/attachment.html>
More information about the vc
mailing list