summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-05-14 19:51:17 (GMT)
committerSteven Knight <knight@baldmt.com>2010-05-14 19:51:17 (GMT)
commit266a70c2c7e682c4c19a7b18106ff3c5ad774fd3 (patch)
treedc0913a24a8c5557692ce5aad137ae0e8cc77cd1 /src
parentf9c224d8693cc0e1bcbe6258ce7d30eb598045ef (diff)
downloadSCons-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.py4
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