[Git][NTPsec/ntpsec][master] Remove unused python imports

Ian Bruene gitlab at mg.gitlab.com
Thu May 31 14:28:29 UTC 2018


Ian Bruene pushed to branch master at NTPsec / ntpsec


Commits:
d71c4b96 by Matt Selsky at 2018-05-31T04:42:04Z
Remove unused python imports

pyflakes reported "imported but unused"

- - - - -


5 changed files:

- ntpclients/ntpsnmpd.py
- pylib/wscript
- tests/pylib/test_packet.py
- tests/pylib/test_util.py
- wafhelpers/waf.py


Changes:

=====================================
ntpclients/ntpsnmpd.py
=====================================
--- a/ntpclients/ntpsnmpd.py
+++ b/ntpclients/ntpsnmpd.py
@@ -9,7 +9,6 @@ import getopt
 import time
 import socket
 import subprocess
-import shlex
 
 try:
     import ntp.packet


=====================================
pylib/wscript
=====================================
--- a/pylib/wscript
+++ b/pylib/wscript
@@ -1,6 +1,3 @@
-from waflib import Utils  # pylint: disable=import-error
-
-
 def options(opt):
     opt.load('python')
 


=====================================
tests/pylib/test_packet.py
=====================================
--- a/tests/pylib/test_packet.py
+++ b/tests/pylib/test_packet.py
@@ -13,7 +13,6 @@ import select
 import sys
 import getpass
 import jigs
-import time
 
 odict = ntp.util.OrderedDict
 


=====================================
tests/pylib/test_util.py
=====================================
--- a/tests/pylib/test_util.py
+++ b/tests/pylib/test_util.py
@@ -6,7 +6,6 @@ from __future__ import print_function
 import unittest
 import ntp.util
 import ntp.packet
-import shutil
 import sys
 import socket
 


=====================================
wafhelpers/waf.py
=====================================
--- a/wafhelpers/waf.py
+++ b/wafhelpers/waf.py
@@ -1,5 +1,3 @@
-import re
-
 from waflib.Configure import conf
 from waflib.TaskGen import before_method, feature, re_m4
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/d71c4b963de30d59ed9fa03e886f368bc976c8ca

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/d71c4b963de30d59ed9fa03e886f368bc976c8ca
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/20180531/9c74588f/attachment.html>


More information about the vc mailing list