summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-05-18 13:25:27 (GMT)
committerSteven Knight <knight@baldmt.com>2010-05-18 13:25:27 (GMT)
commit4751a1211aa2b03365dbbdc246401b59f7714cbc (patch)
treea8a7a155181a4b8c1bd8307e5f6ee8235b4864d6
parenta4bf634ca1dbb7016ca06e931c90a7291db6db21 (diff)
downloadSCons-4751a1211aa2b03365dbbdc246401b59f7714cbc.zip
SCons-4751a1211aa2b03365dbbdc246401b59f7714cbc.tar.gz
SCons-4751a1211aa2b03365dbbdc246401b59f7714cbc.tar.bz2
Convert Environment.MethodWrapper from an old-style class to a new-style class.
-rw-r--r--src/engine/SCons/Environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Environment.py b/src/engine/SCons/Environment.py
index 47f6c03..44f916d 100644
--- a/src/engine/SCons/Environment.py
+++ b/src/engine/SCons/Environment.py
@@ -194,7 +194,7 @@ def _delete_duplicates(l, keep_last):
# BuilderWrapper a subclass that overrides __call__() to enforce specific
# Builder calling conventions, simplified some of our higher-layer code.
-class MethodWrapper:
+class MethodWrapper(object):
"""
A generic Wrapper class that associates a method (which can
actually be any callable) with an object. As part of creating this