summaryrefslogtreecommitdiff
path: root/runtest.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-05-21 06:50:36 +0000
committerSteven Knight <knight@baldmt.com>2010-05-21 06:50:36 +0000
commit06097d4092823dfaa19e14d66b92af024c54f059 (patch)
treea0e319de586257a3c90668e845b7e21fedbd6fee /runtest.py
parent0af7852c0892b4b084f77d9d85f7cd66c3c7dad4 (diff)
downloadscons-06097d4092823dfaa19e14d66b92af024c54f059.tar.gz
Convert old-style classes in miscellaneous files to new-stylre classes:
src/test_strings.py, runtest.py and doc/man/scons.1.
Diffstat (limited to 'runtest.py')
-rw-r--r--runtest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtest.py b/runtest.py
index eb2ec5e5..9246a4b8 100644
--- a/runtest.py
+++ b/runtest.py
@@ -362,7 +362,7 @@ else:
command_args = list(map(escape, command_args))
return os.spawnv(os.P_WAIT, command, command_args)
-class Base:
+class Base(object):
def __init__(self, path, spe=None):
self.path = path
self.abspath = os.path.abspath(path)
@@ -747,7 +747,7 @@ if qmtest:
tests = list(map(Test, tests))
-class Unbuffered:
+class Unbuffered(object):
def __init__(self, file):
self.file = file
self.softspace = 0 ## backward compatibility; not supported in Py3k