[virt-tools-list] [virt-manager PATCH] pylint: fix logging-too-few-args issue
Cole Robinson
crobinso at redhat.com
Wed Feb 14 00:06:37 UTC 2018
On 02/13/2018 03:46 AM, Chen Hanxiao wrote:
> 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):
>
ACK, sorry I missed that
Thanks,
Cole
More information about the virt-tools-list
mailing list