diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2019-06-10 09:25:17 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-06-20 14:09:59 +0200 |
commit | 0ee1d5018849e55ee57b04c749992eaa31a29da7 (patch) | |
tree | d420e87601e987b476235fd416b6f0e55701c56c /pylint | |
parent | ea49905fe6cf0ad87c0d66297be8c8657a0d2886 (diff) | |
download | pylint-git-0ee1d5018849e55ee57b04c749992eaa31a29da7.tar.gz |
Fix - W0612: Unused variable 'checker_name'
Diffstat (limited to 'pylint')
-rw-r--r-- | pylint/message/message_handler_mix_in.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pylint/message/message_handler_mix_in.py b/pylint/message/message_handler_mix_in.py index c34aceee0..1c8ab400b 100644 --- a/pylint/message/message_handler_mix_in.py +++ b/pylint/message/message_handler_mix_in.py @@ -373,7 +373,8 @@ Below is a list of all checkers and their features. """ by_checker = self._get_checkers_infos() - for checker_name, information in sorted(by_checker.items()): + for checker in sorted(by_checker): + information = by_checker[checker] checker = information["checker"] result += checker.get_full_documentation(information) return result |