diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2019-06-25 23:25:02 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-08-16 17:25:23 +0200 |
commit | bd24f94c77c9c9c81d86d098936645b8c0de3bf3 (patch) | |
tree | 1938a9e4fb9f1bb5aa187ab5fe9ffddc78a7ae7d /pylint/message/message_definition_store.py | |
parent | 43792243f4cc9d79d3b653aee2de2e8ba37f8d77 (diff) | |
download | pylint-git-bd24f94c77c9c9c81d86d098936645b8c0de3bf3.tar.gz |
[pylint.message] Symbol seems to never be None anymore
Diffstat (limited to 'pylint/message/message_definition_store.py')
-rw-r--r-- | pylint/message/message_definition_store.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pylint/message/message_definition_store.py b/pylint/message/message_definition_store.py index 8447a471f..fdd1f0b54 100644 --- a/pylint/message/message_definition_store.py +++ b/pylint/message/message_definition_store.py @@ -171,10 +171,7 @@ class MessageDefinitionStore: raise UnknownMessageError(error_msg) def get_msg_display_string(self, msgid): - """Generates a user-consumable representation of a message. - - Can be just the message ID or the ID and the symbol. - """ + """Generates a user-consumable representation of a message. """ message_definitions = self.get_message_definitions(msgid) if len(message_definitions) == 1: return repr(message_definitions[0].symbol) |