summaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2013-03-29 18:42:21 +0100
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2013-03-29 18:42:21 +0100
commit22c9f547afeb3f443454ecc2885831d3708d33a7 (patch)
tree84316eb81c206cd3c6cf7a9d99ffb5bedb76255c /utils.py
parent270db1b055cc233f905a362fb88284c3c600ef3a (diff)
downloadpylint-22c9f547afeb3f443454ecc2885831d3708d33a7.tar.gz
a few pylint fixes and copyright cleanups
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils.py b/utils.py
index eae621d..c75d3bb 100644
--- a/utils.py
+++ b/utils.py
@@ -1,5 +1,4 @@
-# Copyright (c) 2003-2010 Sylvain Thenault (thenault@gmail.com).
-# Copyright (c) 2003-2012 LOGILAB S.A. (Paris, FRANCE).
+# Copyright (c) 2003-2013 LOGILAB S.A. (Paris, FRANCE).
# http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This program is free software; you can redistribute it and/or modify it under
@@ -133,6 +132,7 @@ class MessagesHandlerMixIn:
self._msgs_by_category = {}
self.msg_status = 0
self._ignored_msgs = {}
+ self._suppression_mapping = {}
def register_messages(self, checker):
"""register a dictionary of messages
@@ -156,7 +156,7 @@ class MessagesHandlerMixIn:
assert msgsymbol not in self._messages_by_symbol, \
'Message symbol %r is already defined' % msgsymbol
if len(msg_tuple) > 3 and 'scope' in msg_tuple[3]:
- scope = msg_tuple[3]['scope']
+ scope = msg_tuple[3]['scope']
else:
# messages should have a symbol, but for backward compatibility
# they may not.