diff options
author | Steven Knight <knight@baldmt.com> | 2010-05-20 19:06:28 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-05-20 19:06:28 (GMT) |
commit | de6b9527a9cd1a5385c414e984dcc47fcb21a71e (patch) | |
tree | aafaf6e6bf3180dcd94896fec8b8eb2f71d93c03 /bin/sconsexamples.py | |
parent | 4b3a032823160c0c4560a4644223691ee4f12fc7 (diff) | |
download | SCons-de6b9527a9cd1a5385c414e984dcc47fcb21a71e.zip SCons-de6b9527a9cd1a5385c414e984dcc47fcb21a71e.tar.gz SCons-de6b9527a9cd1a5385c414e984dcc47fcb21a71e.tar.bz2 |
vert old-style classes in bin/* scripts to new-style classes.
Diffstat (limited to 'bin/sconsexamples.py')
-rw-r--r-- | bin/sconsexamples.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sconsexamples.py b/bin/sconsexamples.py index c2768c9..6d3b2de 100644 --- a/bin/sconsexamples.py +++ b/bin/sconsexamples.py @@ -91,7 +91,7 @@ import TestCmd # Override it with our own regular expression that adds underscore. sgmllib.entityref = re.compile('&([a-zA-Z][-_.a-zA-Z0-9]*)[^-_a-zA-Z0-9]') -class DataCollector: +class DataCollector(object): """Generic class for collecting data between a start tag and end tag. We subclass for various types of tags we care about.""" def __init__(self): @@ -158,7 +158,7 @@ import SCons.Defaults platform = '%s' -class Curry: +class Curry(object): def __init__(self, fun, *args, **kwargs): self.fun = fun self.pending = args[:] @@ -179,7 +179,7 @@ def Str(target, source, env, cmd=""): result.append(" ".join(map(str, cmd))) return '\\n'.join(result) -class ToolSurrogate: +class ToolSurrogate(object): def __init__(self, tool, variable, func): self.tool = tool self.variable = variable |