[Git][NTPsec/ntpsec][master] Deleted 1 commit: The NUL fix broke --local-cpu-temp, put the \n back in there.

Gary E. Miller gitlab at mg.gitlab.com
Thu Aug 18 22:25:43 UTC 2016


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


WARNING: The push did not contain any new commits, but force pushed to delete the commits and changes below.


Deleted commits:
09044b44 by Gary E. Miller at 2016-08-18T15:24:39-07:00
The NUL fix broke --local-cpu-temp, put the \n back in there.

- - - - -


1 changed file:

- ntpstats/ntpviz


Changes:

=====================================
ntpstats/ntpviz
=====================================
--- a/ntpstats/ntpviz
+++ b/ntpstats/ntpviz
@@ -75,6 +75,7 @@ plot \
     def local_cpu_temp_gnuplot(self):
         "Generate GNUPLOT code graphing local cpu temp statistics"
         sitename = self.sitename
+        lines = [line + '\n' for line in getattr(self, "cputemp")]
         plot_template = NTPViz.Common + """\
 set title "%(sitename)s: Local CPU Temp"
 set ytics format "@1.1f °C" nomirror textcolor rgb '#0060ad'
@@ -83,7 +84,7 @@ plot \
  "-" using 1:($2) title "CPU temp" with linespoints ls 1
 """ % locals()
         return plot_template.replace('@', '%')  \
-            + "".join(getattr(self, "cputemp"))
+            + "".join(lines)
 
     def local_error_gnuplot(self):
         "Plot the local clock frequency error."



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/09044b442b9b211ccbee91052dbe5792d48db66f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160818/6ef77215/attachment.html>


More information about the vc mailing list