[anaconda:master 2/2] Remove obsolete import.
David Shea
dshea at redhat.com
Fri Feb 20 14:35:30 UTC 2015
On 02/20/2015 09:14 AM, Anne Mulhern wrote:
> But puzzling that pylint didn't complain about those unused imports (which are completely standard),
> unlike __future__.
pylint allows unused imports in __init__, since you can use that to
import modules into the __init__ module's namespace, and use that
outside the module (pyanaconda.packaging.sys, or import * and now you
have sys). We don't ever do that, though, and a little googling shows
there may be an option to change pylint's behavior here. I'll see if
that can do us some good.
More information about the anaconda-patches
mailing list