Fixup previous commit.

Looks like I blasted something into my editor...

llvm-svn: 250454
This commit is contained in:
Todd Fiala 2015-10-15 20:32:25 +00:00
parent 125b1bd361
commit 3b82908f0f
1 changed files with 2 additions and 3 deletions

View File

@ -118,7 +118,7 @@ def add_lldb_module_directory():
# Trim the result. # Trim the result.
if lldb_module_path is not None: if lldb_module_path is not None:
lldb_module_path = lldb_module_path.rtrim() lldb_module_path = lldb_module_path.strip()
# If we have a result, add it to the path # If we have a result, add it to the path
if lldb_module_path is not None and len(lldb_module_path) > 0: if lldb_module_path is not None and len(lldb_module_path) > 0:
@ -126,8 +126,7 @@ def add_lldb_module_directory():
# pylint: disable=broad-except # pylint: disable=broad-except
except Exception as exception: except Exception as exception:
print "failed to find python path: {}".format(exception) print "failed to find python path: {}".format(exception)
elif platform.system() != 'Windows':
def add_lldb_test_package_paths(check_dir): def add_lldb_test_package_paths(check_dir):
"""Adds the lldb test infrastructure modules to the python path. """Adds the lldb test infrastructure modules to the python path.