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

Chen Hanxiao chen_han_xiao at 126.com
Wed Feb 14 05:18:24 UTC 2018


At 2018-02-14 08:06:37, "Cole Robinson" <crobinso at redhat.com> wrote:
>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
>

Pushed, Thanks.

Regards,
- Chen




More information about the virt-tools-list mailing list