[Git][NTPsec/ntpsec][master] ntpclients/ntpmon.py: Fix typos.
Gary E. Miller (@garyedmundsmiller)
gitlab at mg.gitlab.com
Tue Jun 17 21:21:10 UTC 2025
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
a0ee5f1b by James Browning at 2025-06-17T13:09:10-07:00
ntpclients/ntpmon.py: Fix typos.
- - - - -
1 changed file:
- ntpclients/ntpmon.py
Changes:
=====================================
ntpclients/ntpmon.py
=====================================
@@ -246,7 +246,7 @@ if __name__ == '__main__':
elif switch in ("-D", "--set-debug-level"):
errmsg = "Error: -D parameter '%s' not a number\n"
debug = ntp.util.safeargcast(val, int, errmsg, usage)
- elif switch in ("-h", "--help") :
+ elif switch in ("-h", "--help"):
print(usage)
raise SystemExit(0)
elif switch in ("-l", "--logfile"):
@@ -264,10 +264,10 @@ if __name__ == '__main__':
raise SystemExit(0)
if 0 > debug:
- # don;t let debug go negative
+ # don't let debug go negative
debug = 0
if logname:
- # always open reequested log
+ # always open requested log
logfp = open(logname, "a", 1) # 1 => line buffered
elif 0 < debug:
# open default log, only if debugging
@@ -489,7 +489,7 @@ if __name__ == '__main__':
elif key == '-':
debug -= 1
if 0 > debug:
- # don;t let debug go negative
+ # don't let debug go negative
debug = 0
session.debug = debug
peer_report.debug = debug
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/a0ee5f1beed26eb4273ab270fea90bd20e1eee5d
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/a0ee5f1beed26eb4273ab270fea90bd20e1eee5d
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/20250617/31a71980/attachment-0001.htm>
More information about the vc
mailing list