summaryrefslogtreecommitdiffstats
path: root/bin/scons-proc.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-05-20 19:06:28 (GMT)
committerSteven Knight <knight@baldmt.com>2010-05-20 19:06:28 (GMT)
commitde6b9527a9cd1a5385c414e984dcc47fcb21a71e (patch)
treeaafaf6e6bf3180dcd94896fec8b8eb2f71d93c03 /bin/scons-proc.py
parent4b3a032823160c0c4560a4644223691ee4f12fc7 (diff)
downloadSCons-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/scons-proc.py')
-rw-r--r--bin/scons-proc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/scons-proc.py b/bin/scons-proc.py
index b8b1238..7cdb618 100644
--- a/bin/scons-proc.py
+++ b/bin/scons-proc.py
@@ -131,7 +131,7 @@ Link_Entities_Header = """\
-->
"""
-class SCons_XML:
+class SCons_XML(object):
def __init__(self, entries, **kw):
self.values = entries
for k, v in kw.items():
@@ -271,7 +271,7 @@ class SCons_XML_to_man(SCons_XML):
body = re.compile(r'\\f([BI])-', re.M).sub(r'\\f\1\-', body)
f.write(body)
-class Proxy:
+class Proxy(object):
def __init__(self, subject):
"""Wrap an object as a Proxy object"""
self.__subject = subject