[Git][NTPsec/ntpsec][master] Remove unused variable

Matt Selsky gitlab at mg.gitlab.com
Sat May 16 03:03:08 UTC 2020



Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
191648fb by Matt Selsky at 2020-05-16T02:53:13+00:00
Remove unused variable

This is a follow-up on clean-up originally done in commit
df9d118f51f4d553d9757a0de49678418e0971d1 ("Removed some single use variables
from stringfiltcooker")

- - - - -


1 changed file:

- pylib/util.py


Changes:

=====================================
pylib/util.py
=====================================
@@ -266,7 +266,6 @@ def stringfiltcooker(data):
         if count > highestcount:
             mostcommon = key
             highestcount = count
-    newunit = UNITS_SEC[mostcommon + UNITS_SEC.index(UNIT_MS)]
     # Shift all values to the new unit
     cooked = []
     for part in parts:



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/191648fb7366252e38845166f37ed0b8d6aade96

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/191648fb7366252e38845166f37ed0b8d6aade96
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/41541218/attachment-0001.htm>


More information about the vc mailing list