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 | 2fb13f937b31021915f186547050ec78979c5c57 (patch) | |
tree | 9c00b464719d34ab73a3c57747eaf5d16d9c04a1 /gui.py | |
parent | fb600a34111425760cd5745a18fcd07dc9c18218 (diff) | |
download | pylint-2fb13f937b31021915f186547050ec78979c5c57.tar.gz |
old-style classes are deprecated: refactor to new style
Diffstat (limited to 'gui.py')
-rw-r--r-- | gui.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -44,7 +44,7 @@ def convert_to_string(msg): else: return "(" + msg[0] + ") " + msg[1] + " [" + msg[3] + "]: " + msg[4] -class BasicStream: +class BasicStream(object): ''' used in gui reporter instead of writing to stdout, it is written to this stream and saved in contents @@ -108,7 +108,7 @@ class BasicStream: self.nextTitle = None -class LintGui: +class LintGui(object): """Build and control a window to interact with pylint""" def __init__(self, root=None): |