[Git][NTPsec/ntpsec][master] ntpviz: pyflakes found 2 unused imports, 2 unused variables.

Gary E. Miller gitlab at mg.gitlab.com
Wed Dec 28 05:01:22 UTC 2016


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


Commits:
60af9222 by Gary E. Miller at 2016-12-27T21:00:44-08:00
ntpviz: pyflakes found 2 unused imports, 2 unused variables.

- - - - -


1 changed file:

- ntpclients/ntpviz


Changes:

=====================================
ntpclients/ntpviz
=====================================
--- a/ntpclients/ntpviz
+++ b/ntpclients/ntpviz
@@ -44,7 +44,6 @@ import os
 import socket
 import sys
 import subprocess
-import time
 import tempfile
 
 
@@ -487,7 +486,6 @@ file.</p>
         stats_f = VizStats(values_f, "Local Clock Frequency Offset", freq=1)
 
         stats = []
-        temps_data = ()
         plot_data_t = ''
         for key in tempslist:
             # speed up by only sending gnuplot the data it will actually use
@@ -561,7 +559,6 @@ file, and field 3 from the temp log .</p>
             return ''
 
         stats = []
-        temps_data = ()
         plot_data = ''
         for key in tempslist:
             # speed up by only sending gnuplot the data it will actually use
@@ -1369,7 +1366,6 @@ Python by ESR, concept and gnuplot code by Dan Drown.
         if 9 == args.debug_level:
             # crazy debug, also profile
             import cProfile
-            import pstats
             pr = cProfile.Profile()
             pr.enable()
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/60af92228dfb287716edd93aa7b58b65eaa21c06
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20161228/92d8a49b/attachment.html>


More information about the vc mailing list