[Git][NTPsec/ntpsec][master] pylint: don't import yourself

Matt Selsky gitlab at mg.gitlab.com
Wed Dec 19 19:36:42 UTC 2018


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
87fd0e30 by Matt Selsky at 2018-12-19T12:50:45Z
pylint: don't import yourself

pylint warning:
W:114, 4: Module import itself (import-self)

This hasn't been necessary since the code was reshuffled as part of commit
"Move refclock configure code to refclock.py"

- - - - -


1 changed file:

- wafhelpers/refclock.py


Changes:

=====================================
wafhelpers/refclock.py
=====================================
@@ -111,8 +111,6 @@ refclock_map = {
 
 @conf
 def refclock_config(ctx):
-    from wafhelpers.refclock import refclock_map
-
     if ctx.options.refclocks == "all":
         ids = refclock_map.keys()
     else:



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

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/87fd0e300e5621147967be3953a97d50290611b8
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/20181219/508aed5f/attachment.html>


More information about the vc mailing list