[Freeipa-devel] [PATCH 0398] logger: Use warning instead of warn

Martin Basti mbasti at redhat.com
Tue Jan 19 13:27:49 UTC 2016



On 18.01.2016 17:50, Martin Basti wrote:
>
>
> On 18.01.2016 17:49, Martin Basti wrote:
>>
>>
>> On 15.01.2016 17:15, Tomas Babej wrote:
>>>
>>> On 01/15/2016 05:12 PM, Martin Basti wrote:
>>>>
>>>> On 15.01.2016 16:27, Tomas Babej wrote:
>>>>> Hi,
>>>>>
>>>>> this should build up to another pylint-related patch Martin^2 has 
>>>>> in works.
>>>>>
>>>>> Tomas
>>>>>
>>>>>
>>>>>
>>>> NACK :)
>>>>
>>>> ************* Module ipalib.plugins.dns
>>>> ipalib/plugins/dns.py:3441: [E1101(no-member),
>>>> dnsrecord.wait_for_modified_attr] Class 'log' has no 'warn' member)
>>>>
>>> My regexp was too strict, it seems :)
>>>
>>> Updated patch attached.
>> ACK
>> log.warn() is deprecated
>> https://docs.python.org/3/library/logging.html#logging.Logger.warning
>>
> Pushed to master: 78c5bf9f8e85b4c6c9b67b4a26acedfd45a2c86f
>
I accidentally pushed the first patch, so missing line is here
Pushed to master: ddf2c813b453a85c22dbf278a575d3c6406b4471




More information about the Freeipa-devel mailing list