[Git][NTPsec/ntpsec][master] Fix typos in comments

Matt Selsky gitlab at mg.gitlab.com
Sat Apr 29 13:29:05 UTC 2017


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
e2785098 by Matt Selsky at 2017-04-29T09:26:19-04:00
Fix typos in comments

- - - - -


2 changed files:

- ntpclients/ntpmon
- pylib/util.py


Changes:

=====================================
ntpclients/ntpmon
=====================================
--- a/ntpclients/ntpmon
+++ b/ntpclients/ntpmon
@@ -88,7 +88,7 @@ def peer_detail(variables, showunits=False):
     vcopy = {}
     vcopyraw = {}
     vcopy.update(variables)
-    # Need to seperate the casted from the raw
+    # Need to separate the casted from the raw
     for key in vcopy.keys():
         vcopyraw[key] = vcopy[key][1]
         vcopy[key] = vcopy[key][0]


=====================================
pylib/util.py
=====================================
--- a/pylib/util.py
+++ b/pylib/util.py
@@ -131,7 +131,7 @@ def getunitgroup(unit):
 
 
 def oomsbetweenunits(a, b):
-    "Calculates how many orders of magnitude seperate two units"
+    "Calculates how many orders of magnitude separate two units"
     group = getunitgroup(a)
     if b is None:  # asking for baseunit
         return (group.index(a) * 3)
@@ -183,7 +183,7 @@ def rescalestring(value, unitsscaled):
     "Rescale a number string by a given number of units"
     whole, dec, negative = breaknumberstring(value)
     if unitsscaled == 0:
-        # This may seem redundant, but glue forces certian formatting details
+        # This may seem redundant, but glue forces certain formatting details
         value = gluenumberstring(whole, dec, negative)
         return value
     hilen = len(whole)



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/e2785098eed02420d084b2b87b70ea003c484f6a

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/e2785098eed02420d084b2b87b70ea003c484f6a
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/20170429/45a7cfa8/attachment.html>


More information about the vc mailing list