[virt-tools-list] [virt-manager PATCH] pylint: fix logging-too-few-args issue

Chen Hanxiao chen_han_xiao at 126.com
Tue Feb 13 08:46:23 UTC 2018


From: Chen Hanxiao <chenhanxiao at gmail.com>

pylint complain:
  Not enough arguments for logging format string (logging-too-few-args)

Signed-off-by: Chen Hanxiao <chenhanxiao at gmail.com>
---
 tests/uitests/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/uitests/utils.py b/tests/uitests/utils.py
index e481e443..1f7d61e8 100644
--- a/tests/uitests/utils.py
+++ b/tests/uitests/utils.py
@@ -176,7 +176,7 @@ class _FuzzyPredicate(dogtail.predicate.Predicate):
         except Exception as e:
             logging.debug(
                     "got predicate exception name=%s role=%s labeller=%s: %s",
-                    (self._name, self._roleName, self._labeller_text, e))
+                    self._name, self._roleName, self._labeller_text, e)
 
 
 def check_in_loop(func, timeout=2):
-- 
2.14.3




More information about the virt-tools-list mailing list