diff options
| author | Nicolas Chauvat <nicolas.chauvat@logilab.fr> | 2013-05-20 15:59:30 +0200 |
|---|---|---|
| committer | Nicolas Chauvat <nicolas.chauvat@logilab.fr> | 2013-05-20 15:59:30 +0200 |
| commit | da49bbd8f17b1c248a42556fd2220ac29f1032a6 (patch) | |
| tree | 23f94122aced691522e91f823dca29f4fbe5e7c4 /utils.py | |
| parent | 6b40f8ec563e0b5674fd2f80d0fea9cf9231258f (diff) | |
| download | pylint-git-da49bbd8f17b1c248a42556fd2220ac29f1032a6.tar.gz | |
old-style classes are deprecated: refactor to new style
Diffstat (limited to 'utils.py')
| -rw-r--r-- | utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 """ |
