summaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2013-12-04 19:15:36 +0100
committerSylvain Thénault <sylvain.thenault@logilab.fr>2013-12-04 19:15:36 +0100
commit48fc04a7eaabe69dcc30740d138e3e73ff5db2b9 (patch)
tree410e966b97df674f7bc95c3684c9a7b5ff154784 /utils.py
parentf632d39984072a1ee2cebbdff861c65135eb54f4 (diff)
downloadpylint-git-48fc04a7eaabe69dcc30740d138e3e73ff5db2b9.tar.gz
fix indentation in various places. Damned googlers :p
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/utils.py b/utils.py
index 3aa16a767..05e8b41e5 100644
--- a/utils.py
+++ b/utils.py
@@ -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