[PATCH 04/17] Remove uses of the deprecated string.split method.

David Shea dshea at redhat.com
Mon Sep 22 16:00:33 UTC 2014


On 09/22/2014 11:12 AM, Chris Lumens wrote:
>> We used to ignore the warnings with pylint-false-positives, and by the time
>> it was removed from false-positives the check was also removed from pylint,
>> since the check was more heavy-handed than it should have been.
>> https://bitbucket.org/logilab/pylint/issue/3
> Ah, thanks.  Well we import it only sparingly so perhaps we should add
> it back into the list of deprecated modules and pragma our way out of it
> when we know we're using something useful from it.
>

Seems like an ok idea. While going through the string uses I also 
noticed that we use .letters in several places, which does not exist in 
Python 3 and we meant .ascii_letters anyway.

http://paste.fedoraproject.org/135487/14015461/


More information about the anaconda-patches mailing list