[Git][NTPsec/ntpsec][master] Python3: Fix paths to ntp python modules
Eric S. Raymond
gitlab at mg.gitlab.com
Sun Nov 27 01:10:00 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
8b9d587c by Matt Selsky at 2016-11-26T20:08:28-05:00
Python3: Fix paths to ntp python modules
- - - - -
1 changed file:
- pylib/packet.py
Changes:
=====================================
pylib/packet.py
=====================================
--- a/pylib/packet.py
+++ b/pylib/packet.py
@@ -182,7 +182,7 @@ A Mode 6 packet cannot have extension fields.
from __future__ import print_function, division
import sys, socket, select, struct, collections
import getpass, hashlib, time
-from ntpc import lfptofloat
+from ntp.ntpc import lfptofloat
# General notes on Python 2/3 compatibility:
#
@@ -266,8 +266,8 @@ else: # Python 3
# line_buffering=True ensures that interactive command sessions work as expected
return io.TextIOWrapper(stream.buffer, encoding=master_encoding, newline="\n", line_buffering=True)
-from ntp_magic import *
-from ntp_control import *
+from ntp.ntp_magic import *
+from ntp.ntp_control import *
# Limit on packets in a single Mode 6 response. Increasing this value to
# 96 will marginally speed "mrulist" operation on lossless networks
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/8b9d587cd8c5bde02f5d78657ea918a26cd5c22f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161127/49cc8462/attachment.html>
More information about the vc
mailing list