] > [Python-projects] pylint 0.9.2 problem with config file parsing (Logilab.org)

Email [Python-projects] pylint 0.9.2 problem with config file parsing

subject
[Python-projects] pylint 0.9.2 problem with config file parsing
date
2005/02/23 19:09
pylint 0.9.2 problem with config file parsing

Dear Pylint developers,
I just did a first test with pylint 0.9.2 and had the following problem:

In the lint.py module, line 273, method set_option
the following statements try to parse a comma separated list of Messages, e.g. C0301,W0706,W0103
and fails because it takes 'C' instead of C0301 as the first item:
                for _id in value:
                    meth(_id)

I replaced this with
                values = value.split(',')     ##
                for _id in values:             ##
                    meth(_id)
and everything worked fine.

Is value a string or what should be the magic behind this?

Best Regards / Mit freundlichen Grüßen
 
Gerhard Kring

    Siemens AG
    Communications
    Com CD NI DB D

    St.-Martin-Str. 76
    D-81541 München
    Room: 5531/356
                                                    
    T.+49-89-636-76219
    Mobile +49-178-7700355

        Email: Gerhard.Kring@siemens.com