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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/13/2018 03:46 AM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao@xxxxxxxxx>
> 
> pylint complain:
>   Not enough arguments for logging format string (logging-too-few-args)
> 
> Signed-off-by: Chen Hanxiao <chenhanxiao@xxxxxxxxx>
> ---
>  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

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux