diff options
Diffstat (limited to 'SCons/Platform')
-rw-r--r-- | SCons/Platform/aix.py | 3 | ||||
-rw-r--r-- | SCons/Platform/posix.py | 3 | ||||
-rw-r--r-- | SCons/Platform/win32.py | 1 |
3 files changed, 0 insertions, 7 deletions
diff --git a/SCons/Platform/aix.py b/SCons/Platform/aix.py index 247437a..07d9134 100644 --- a/SCons/Platform/aix.py +++ b/SCons/Platform/aix.py @@ -32,7 +32,6 @@ selection method. __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import os import subprocess from . import posix @@ -70,8 +69,6 @@ def get_xlc(env, xlc=None, packages=[]): or ('/' not in xlc and filename.endswith('/' + xlc)): xlcVersion = fileset.split()[1] xlcPath, sep, xlc = filename.rpartition('/') - pass - pass return (xlcPath, xlc, xlcVersion) def generate(env): diff --git a/SCons/Platform/posix.py b/SCons/Platform/posix.py index ad4e859..f0f71a8 100644 --- a/SCons/Platform/posix.py +++ b/SCons/Platform/posix.py @@ -33,10 +33,7 @@ selection method. __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import errno -import os -import os.path import subprocess -import sys import select import SCons.Util diff --git a/SCons/Platform/win32.py b/SCons/Platform/win32.py index 84fd8f8..0ffe349 100644 --- a/SCons/Platform/win32.py +++ b/SCons/Platform/win32.py @@ -288,7 +288,6 @@ def get_program_files_dir(): val, tok = SCons.Util.RegQueryValueEx(k, 'ProgramFilesDir') except SCons.Util.RegError: val = '' - pass if val == '': # A reasonable default if we can't read the registry |