summaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>2013-05-20 15:59:30 +0200
committerNicolas Chauvat <nicolas.chauvat@logilab.fr>2013-05-20 15:59:30 +0200
commitda49bbd8f17b1c248a42556fd2220ac29f1032a6 (patch)
tree23f94122aced691522e91f823dca29f4fbe5e7c4 /utils.py
parent6b40f8ec563e0b5674fd2f80d0fea9cf9231258f (diff)
downloadpylint-git-da49bbd8f17b1c248a42556fd2220ac29f1032a6.tar.gz
old-style classes are deprecated: refactor to new style
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.py b/utils.py
index a984f58bd..370d25ea8 100644
--- a/utils.py
+++ b/utils.py
@@ -116,7 +116,7 @@ def tokenize_module(module):
return list(tokenize.generate_tokens(readline))
-class Message:
+class Message(object):
def __init__(self, checker, msgid, msg, descr, symbol, scope):
assert len(msgid) == 5, 'Invalid message id %s' % msgid
assert msgid[0] in MSG_TYPES, \
@@ -128,7 +128,7 @@ class Message:
self.symbol = symbol
self.scope = scope
-class MessagesHandlerMixIn:
+class MessagesHandlerMixIn(object):
"""a mix-in class containing all the messages related methods for the main
lint class
"""