Hello Maurice, > * Hebben, Maurice <maurice.heb...@philips.com> [26-avr-2010 17:08]: > > I just updated to pylint 0.20.0 and logilab-common 0.50.0 and I got a > Traceback when running pylint. > In our local path a pylintrc file is present. > The 'load_config_file' crashed (logilab-common): > > File > "/usr/local/lib/python2.6/dist-packages/pylint-0.20.0-py2.6.egg/pylint/lint.py", > line 861, in __init__ > linter.load_config_file() > File > "/usr/local/lib/python2.6/dist-packages/logilab_common-0.50.0-py2.6.egg/logilab/common/configuration.py", > line 634, in load_config_file > provider.set_option(option, value, optdict=optdict) > TypeError: set_option() got an unexpected keyword argument 'optdict' > > When removing the local 'pylintrc', this problem does not occur and also when > reverting to logilab-common 0.49.0, this problem does not show up. > > It seems the argument 'optdict' is not correct in common 0.50.0. > As far as I can see this argument changed since common 0.50.0 in the file > configuration.py > In common 0.49.0, it is: > provider.set_option(option, value, opt_dict=optdict)
I think this bug was corrected in 0.50.1 published yesterday. Could you make another try with this version ? http://ftp.logilab.org/pub/common/logilab-common-0.50.1.tar.gz http://pypi.python.org/pypi/logilab-common/0.50.1 Anyway, thanks for your report. -- Julien JEHANNET LOGILAB, Paris (France) http://www.cubicweb.org CubicWeb, le cadriciel du web sémantique http://www.logilab.org Dépôt des logiciels libres conçus par Logilab http://www.logilab.fr Informatique scientifique & Gestion de connaissances
signature.asc
Description: Digital signature
_______________________________________________ Python-Projects mailing list Python-Projects@lists.logilab.org http://lists.logilab.org/mailman/listinfo/python-projects