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 | 48fc04a7eaabe69dcc30740d138e3e73ff5db2b9 (patch) | |
| tree | 410e966b97df674f7bc95c3684c9a7b5ff154784 /utils.py | |
| parent | f632d39984072a1ee2cebbdff861c65135eb54f4 (diff) | |
| download | pylint-git-48fc04a7eaabe69dcc30740d138e3e73ff5db2b9.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 |
