subject
[Python-projects] Problem with pylint option
date
Hello.2005/04/15 02:37
I have this option in my pylint.cfg file:
disable-msg=W0131,W0142
Pylint 0.6.4 (Common 0.9.3) which I've just installed fails if this
option is active.
It raises an exception in pylint.py at line 286 at this code:
else:
meth(_id)
since _id is not defined.
A quick and dirty fix:
if opt_name in ("disable-msg", "disable-report"): ###
value = value.split(",") ###
if isinstance(value, list) :
for _id in value :
meth(_id)
else :
#meth(_id)
value = ()
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects
