diff options
| author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2013-07-30 18:05:31 +0200 |
|---|---|---|
| committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2013-07-30 18:05:31 +0200 |
| commit | 1cf2d3fef9e18f45fafdac3119af0ad5355575d8 (patch) | |
| tree | 4a6b41323caa70ded5c49b4d5b3e70bdd15f6251 /utils.py | |
| parent | c0f894f0105617c3f5177b31def1c9ee6d82a6c8 (diff) | |
| download | pylint-git-1cf2d3fef9e18f45fafdac3119af0ad5355575d8.tar.gz | |
get_msg_display_string always return symbolic name
Diffstat (limited to 'utils.py')
| -rw-r--r-- | utils.py | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -319,11 +319,7 @@ class MessagesHandlerMixIn(object): Can be just the message ID or the ID and the symbol. """ - if self.config.symbols: - symbol = self.check_message_id(msgid).symbol - if symbol: - msgid += '(%s)' % symbol - return msgid + return repr(self.check_message_id(msgid).symbol) def get_message_state_scope(self, msgid, line=None): """Returns the scope at which a message was enabled/disabled.""" |
