diff options
| author | Torsten Marek <shlomme@gmail.com> | 2014-04-09 00:19:18 +0200 |
|---|---|---|
| committer | Torsten Marek <shlomme@gmail.com> | 2014-04-09 00:19:18 +0200 |
| commit | 5a6ee7e00b58de14a38aade53d938f72c8c1f712 (patch) | |
| tree | 16ea474c6c0ad59889a9524b758c5e2e4347d4a3 /lint.py | |
| parent | 1019cfc1911bd02695e0deb9b8e4d988df289a48 (diff) | |
| download | pylint-git-5a6ee7e00b58de14a38aade53d938f72c8c1f712.tar.gz | |
Do not crash when disable or enable in the RC file contain invalid message IDs or names.
Closes #170
Diffstat (limited to 'lint.py')
| -rw-r--r-- | lint.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -29,6 +29,7 @@ # import this first to avoid builtin namespace pollution from pylint.checkers import utils +import functools import sys import os import tokenize @@ -389,7 +390,7 @@ warning, statement which respectively contain the number of errors / warnings\ value = check_csv(None, optname, value) if isinstance(value, (list, tuple)): for _id in value: - meth(_id) + meth(_id, ignore_unknown=True) else: meth(value) elif optname == 'output-format': |
