summaryrefslogtreecommitdiff
path: root/gui.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
commit2fb13f937b31021915f186547050ec78979c5c57 (patch)
tree9c00b464719d34ab73a3c57747eaf5d16d9c04a1 /gui.py
parentfb600a34111425760cd5745a18fcd07dc9c18218 (diff)
downloadpylint-2fb13f937b31021915f186547050ec78979c5c57.tar.gz
old-style classes are deprecated: refactor to new style
Diffstat (limited to 'gui.py')
-rw-r--r--gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui.py b/gui.py
index c49c8ef..2e53184 100644
--- a/gui.py
+++ b/gui.py
@@ -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):