diff options
author | Steven Knight <knight@baldmt.com> | 2010-05-14 20:23:58 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-05-14 20:23:58 (GMT) |
commit | 711d677a0828eb9f6516cb28bfb3cf4f4d00c17d (patch) | |
tree | 2b54d95c32c155b1a6f4eac7a50732de10bc0670 /src/engine | |
parent | 266a70c2c7e682c4c19a7b18106ff3c5ad774fd3 (diff) | |
download | SCons-711d677a0828eb9f6516cb28bfb3cf4f4d00c17d.zip SCons-711d677a0828eb9f6516cb28bfb3cf4f4d00c17d.tar.gz SCons-711d677a0828eb9f6516cb28bfb3cf4f4d00c17d.tar.bz2 |
Convert old-style classes in Tool/__init__.py to new-style classes.
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/SCons/Tool/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/SCons/Tool/__init__.py b/src/engine/SCons/Tool/__init__.py index 00d2b1b..05f095f 100644 --- a/src/engine/SCons/Tool/__init__.py +++ b/src/engine/SCons/Tool/__init__.py @@ -84,7 +84,7 @@ for suffix in LaTeXSuffixes: SourceFileScanner.add_scanner(suffix, LaTeXScanner) SourceFileScanner.add_scanner(suffix, PDFLaTeXScanner) -class Tool: +class Tool(object): def __init__(self, name, toolpath=[], **kw): self.name = name self.toolpath = toolpath + DefaultToolpath @@ -427,7 +427,7 @@ def CreateJavaFileBuilder(env): env['JAVASUFFIX'] = '.java' return java_file -class ToolInitializerMethod: +class ToolInitializerMethod(object): """ This is added to a construction environment in place of a method(s) normally called for a Builder (env.Object, env.StaticObject, @@ -475,7 +475,7 @@ class ToolInitializerMethod: return [], [] return builder(*args, **kw) -class ToolInitializer: +class ToolInitializer(object): """ A class for delayed initialization of Tools modules. |