diff options
author | Steven Knight <knight@baldmt.com> | 2010-05-14 19:51:17 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-05-14 19:51:17 (GMT) |
commit | 266a70c2c7e682c4c19a7b18106ff3c5ad774fd3 (patch) | |
tree | dc0913a24a8c5557692ce5aad137ae0e8cc77cd1 /src | |
parent | f9c224d8693cc0e1bcbe6258ce7d30eb598045ef (diff) | |
download | SCons-266a70c2c7e682c4c19a7b18106ff3c5ad774fd3.zip SCons-266a70c2c7e682c4c19a7b18106ff3c5ad774fd3.tar.gz SCons-266a70c2c7e682c4c19a7b18106ff3c5ad774fd3.tar.bz2 |
Convert old-style classes in Script/SConscript.py to new-style classes.
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/SCons/Script/SConscript.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Script/SConscript.py b/src/engine/SCons/Script/SConscript.py index ed077ba..c3433ca 100644 --- a/src/engine/SCons/Script/SConscript.py +++ b/src/engine/SCons/Script/SConscript.py @@ -118,7 +118,7 @@ def compute_exports(exports): return retval -class Frame: +class Frame(object): """A frame on the SConstruct/SConscript call stack""" def __init__(self, fs, exports, sconscript): self.globals = BuildDefaultGlobals() @@ -590,7 +590,7 @@ def get_DefaultEnvironmentProxy(): _DefaultEnvironmentProxy = SCons.Environment.NoSubstitutionProxy(default_env) return _DefaultEnvironmentProxy -class DefaultEnvironmentCall: +class DefaultEnvironmentCall(object): """A class that implements "global function" calls of Environment methods by fetching the specified method from the DefaultEnvironment's class. Note that this uses an intermediate |