diff options
Diffstat (limited to 'src/engine/SCons/compat/_scons_subprocess.py')
-rw-r--r-- | src/engine/SCons/compat/_scons_subprocess.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/engine/SCons/compat/_scons_subprocess.py b/src/engine/SCons/compat/_scons_subprocess.py index 2106636..eebe53d 100644 --- a/src/engine/SCons/compat/_scons_subprocess.py +++ b/src/engine/SCons/compat/_scons_subprocess.py @@ -383,13 +383,13 @@ if mswindows: try: # Try to get _subprocess from _subprocess import * - class STARTUPINFO: + class STARTUPINFO(object): dwFlags = 0 hStdInput = None hStdOutput = None hStdError = None wShowWindow = 0 - class pywintypes: + class pywintypes(object): error = IOError except ImportError: # If not there, then drop back to requiring pywin32 @@ -569,13 +569,6 @@ def list2cmdline(seq): return ''.join(result) - -try: - object -except NameError: - class object: - pass - class Popen(object): def __init__(self, args, bufsize=0, executable=None, stdin=None, stdout=None, stderr=None, |