[Python-projects] pylint 0.13.2 bug

Alexandre Fayolle alexandre.fayolle at logilab.fr
Mon Jul 9 13:45:26 CEST 2007


On Mon, Jul 02, 2007 at 06:21:53PM -0400, Dave Borowitz wrote:
> Hi Logilab,

Hi Dave,

> 
> I found what looks like a small bug in the latest pylint:
> 
> lint.py:868
>    if config_parser.has_option('master', 'load-plugins'):
>        plugins = get_csv(config_parser.get('master', 'load-plugins'))
>        linter.load_plugin_modules(plugins)
> 
> Section names in the config file are all upper-case (cf.
> register_options_provider in logilab-common/configuration.py), so none of
> the plugins I listed there were getting loaded. Changing the section to
> 'MASTER' fixes the bug.

Thanks for your patch, I have checked it in, and it will be part of the
next pylint release. 

-- 
Alexandre Fayolle                              LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Informatique scientifique:               http://www.logilab.fr/science
Reprise et maintenance de sites CPS:     http://www.migration-cms.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: Digital signature
Url : http://lists.logilab.org/pipermail/python-projects/attachments/20070709/a4fd00aa/attachment.pgp 


More information about the Python-Projects mailing list