diff options
| author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2013-12-04 19:15:36 +0100 |
|---|---|---|
| committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2013-12-04 19:15:36 +0100 |
| commit | 677d71a9b71b73e3169e45167e372499f594bdc1 (patch) | |
| tree | 0f4462fd67ea358ad1f4bd598e835e494a3df369 /utils.py | |
| parent | ef800f8179613ab674609f3bb89edb98f489dc32 (diff) | |
| download | pylint-677d71a9b71b73e3169e45167e372499f594bdc1.tar.gz | |
fix indentation in various places. Damned googlers :p
Diffstat (limited to 'utils.py')
| -rw-r--r-- | utils.py | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -208,14 +208,14 @@ class MessagesHandlerMixIn(object): self._suppression_mapping = {} def add_renamed_message(self, old_id, old_symbol, new_symbol): - """Register the old ID and symbol for a warning that was renamed. - - This allows users to keep using the old ID/symbol in suppressions. - """ - msg = self.check_message_id(new_symbol) - msg.old_names.append((old_id, old_symbol)) - self._alternative_names[old_id] = msg - self._alternative_names[old_symbol] = msg + """Register the old ID and symbol for a warning that was renamed. + + This allows users to keep using the old ID/symbol in suppressions. + """ + msg = self.check_message_id(new_symbol) + msg.old_names.append((old_id, old_symbol)) + self._alternative_names[old_id] = msg + self._alternative_names[old_symbol] = msg def register_messages(self, checker): """register a dictionary of messages |
