diff options
author | Aurelien Campeas <aurelien.campeas@logilab.fr> | 2013-03-13 13:07:34 +0100 |
---|---|---|
committer | Aurelien Campeas <aurelien.campeas@logilab.fr> | 2013-03-13 13:07:34 +0100 |
commit | 5be8b055635ab60beec12cb0808f5488b2fcb0bc (patch) | |
tree | 162ff3a6422795c689fdf5926175214193a32fb6 | |
parent | a3d56dd1caa143a93f5ab9a6162bcac7f2d2103a (diff) | |
download | pylint-git-5be8b055635ab60beec12cb0808f5488b2fcb0bc.tar.gz |
fix name error causing crash when symbols are included in output messages. Closes #124662
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | utils.py | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -5,6 +5,8 @@ ChangeLog for PyLint * #124660: internal dependencies should not appear in external dependencies report + * #124662: fix name error causing crash when symbols are included in output + messages 2013-02-26 -- 0.27.0 @@ -270,7 +270,7 @@ class MessagesHandlerMixIn: Can be just the message ID or the ID and the symbol. """ if self.config.symbols: - symbol = self.check_message_id(msg_id).symbol + symbol = self.check_message_id(msgid).symbol if symbol: msgid += '(%s)' % symbol return msgid |