[Git][NTPsec/ntpsec][master] ntpclients/ntpviz.py: Add a tad more debug output.
Gary E. Miller
gitlab at mg.gitlab.com
Sat May 16 02:35:42 UTC 2020
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
95e90d3d by Gary E. Miller at 2020-05-15T19:33:18-07:00
ntpclients/ntpviz.py: Add a tad more debug output.
- - - - -
1 changed file:
- ntpclients/ntpviz.py
Changes:
=====================================
ntpclients/ntpviz.py
=====================================
@@ -397,9 +397,13 @@ def gnuplot(template, outfile=None):
if not template:
# silently ignore empty plots
return ''
+
if outfile is None:
out = None
else:
+ if 2 <= args.debug_level:
+ sys.stderr.write("ntpviz: INFO: sending plot output "
+ "to %s\n" % outfile)
out = open(outfile, "w", encoding='utf-8')
##
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/95e90d3dd6eee22ff03d2f44e43df3aab16c4922
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/95e90d3dd6eee22ff03d2f44e43df3aab16c4922
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/20200516/c587ec96/attachment.htm>
More information about the vc
mailing list