[Git][NTPsec/ntpsec][master] Tone down the warnings a bit, no need to double whine.

Gary E. Miller gitlab at mg.gitlab.com
Mon Aug 22 21:46:04 UTC 2016


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
4c8e3954 by Gary E. Miller at 2016-08-22T14:45:23-07:00
Tone down the warnings a bit, no need to double whine.

- - - - -


1 changed file:

- ntpstats/ntpviz


Changes:

=====================================
ntpstats/ntpviz
=====================================
--- a/ntpstats/ntpviz
+++ b/ntpstats/ntpviz
@@ -34,7 +34,7 @@ from ntp.statfiles import *
 def gnuplot(template, outfile=None):
     "Run a specified GNUPLOT program."
     if not len( template ):
-        sys.stderr.write("ntpviz: WARNING: empty gnuplot template\n")
+        # silently ignore empty plots
         return ''
     if outfile is None:
         out = None



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/4c8e3954e46430bab02023f7b99f0206d3a7e5a3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160822/855a5dae/attachment.html>


More information about the vc mailing list