[Git][NTPsec/ntpsec][master] Typos in comments
Matt Selsky
gitlab at mg.gitlab.com
Fri Nov 3 05:44:37 UTC 2017
Matt Selsky pushed to branch master at NTPsec / ntpsec
Commits:
a916564f by Matt Selsky at 2017-11-03T01:34:19-04:00
Typos in comments
- - - - -
2 changed files:
- ntpclients/ntpsnmpd
- tests/pylib/test_packet.py
Changes:
=====================================
ntpclients/ntpsnmpd
=====================================
--- a/ntpclients/ntpsnmpd
+++ b/ntpclients/ntpsnmpd
@@ -224,7 +224,7 @@ class DataSource: # This may be broken up in future to be less NTP-specific
self.session.openhost(DEFHOST) # only local for now
def getOID(self, oid):
- "Get the requested OID, or the next lexographical OID"
+ "Get the requested OID, or the next lexicographical OID"
for node in self.oidList:
if node[0] is None: # No read callback
continue # skip over not yet implemented OIDs
@@ -234,7 +234,7 @@ class DataSource: # This may be broken up in future to be less NTP-specific
return (None, None, None)
def getNextOID(self, oid):
- "Get the next lexographical OID"
+ "Get the next lexicographical OID"
for pos in range(len(self.oidList)):
callback, current = self.oidList[pos]
if callback is None:
=====================================
tests/pylib/test_packet.py
=====================================
--- a/tests/pylib/test_packet.py
+++ b/tests/pylib/test_packet.py
@@ -321,7 +321,7 @@ class TestSyncPacket(unittest.TestCase):
self.assertEqual(cls.extension, polybytes(ext + mac))
# ====================================================================
- # The tests refering to the Timeless Void are testing outside of NTP's
+ # The tests referring to the Timeless Void are testing outside of NTP's
# representation range, they are left in on the off chance that they
# catch a bug in the future. If they become problematic they can be
# removed without loss.
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/a916564f90b40a364d5a86bca731a17fa51614c1
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/a916564f90b40a364d5a86bca731a17fa51614c1
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20171103/6c86ef21/attachment.html>
More information about the vc
mailing list