diff options
Diffstat (limited to 'pylint/utils.py')
-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. |