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 | e04d38b413c1258f4b62acb305a4aa5ab634a5b6 (patch) | |
tree | 8786e9f6c826c81e902cf2fae3a7a757b9e5012a | |
parent | b09c38db939b910150ea6c24552596100fb7c7bf (diff) | |
download | pylint-e04d38b413c1258f4b62acb305a4aa5ab634a5b6.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 |