[virt-tools-list] [virt-manager PATCH] pylint: disable undefined-loop-variable

Chen Hanxiao chen_han_xiao at 126.com
Thu Jun 15 02:17:34 UTC 2017


From: Chen Hanxiao <chenhanxiao at gmail.com>

  pylint brings noise, disable it.

Signed-off-by: Chen Hanxiao <chenhanxiao at gmail.com>
---
 virtinst/urlfetcher.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py
index 4abc83a..b5b1244 100644
--- a/virtinst/urlfetcher.py
+++ b/virtinst/urlfetcher.py
@@ -500,6 +500,7 @@ def getDistroStore(guest, fetcher):
                 found = True
                 break
 
+        # pylint: disable=undefined-loop-variable
         if found:
             logging.debug("Prioritizing distro store=%s", store)
             stores.remove(store)
-- 
2.7.4





More information about the virt-tools-list mailing list