diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-10 21:16:53 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-10 21:16:53 +0300 |
commit | 8820499b03603ea5674afe59533b3b54b6dd628a (patch) | |
tree | 5d19a2a861c619e85adc4003536588b7b69d5655 /pylint | |
parent | 32305f11c7e3bab9c55be4e8d68404b9d2731edc (diff) | |
download | pylint-8820499b03603ea5674afe59533b3b54b6dd628a.tar.gz |
Rename the variable to fix an undefined-loop-variable false positive.
Diffstat (limited to 'pylint')
-rw-r--r-- | pylint/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/utils.py b/pylint/utils.py index 3c943fb..f303411 100644 --- a/pylint/utils.py +++ b/pylint/utils.py @@ -308,8 +308,8 @@ class MessagesHandlerMixIn(object): """reenable message of the given id""" assert scope in ('package', 'module') if msgid == 'all': - for msgid in MSG_TYPES: - self.enable(msgid, scope=scope, line=line) + for msgid_ in MSG_TYPES: + self.enable(msgid_, scope=scope, line=line) if not self._python3_porting_mode: # Don't activate the python 3 porting checker if it # wasn't activated explicitly. |