def lint(filename):
config = ConfigParser.ConfigParser()<EOL>try:<EOL><INDENT>config.read(filename)<EOL>return <NUM_LIT:0><EOL><DEDENT>except ConfigParser.Error as error:<EOL><INDENT>print('<STR_LIT>' % error)<EOL>return <NUM_LIT:1><EOL><DEDENT>except:<EOL><INDENT>print('<STR_LIT>')<EOL>return <NUM_LIT:2><EOL><DEDENT>
Lints an INI file, returning 0 in case of success.