[Lldb-commits] [lldb] r250454 - Fixup previous commit.

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 15 13:32:25 PDT 2015


Author: tfiala
Date: Thu Oct 15 15:32:25 2015
New Revision: 250454

URL: http://llvm.org/viewvc/llvm-project?rev=250454&view=rev
Log:
Fixup previous commit.

Looks like I blasted something into my editor...

Modified:
    lldb/trunk/test/lldb_pylint_helper.py

Modified: lldb/trunk/test/lldb_pylint_helper.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldb_pylint_helper.py?rev=250454&r1=250453&r2=250454&view=diff
==============================================================================
--- lldb/trunk/test/lldb_pylint_helper.py (original)
+++ lldb/trunk/test/lldb_pylint_helper.py Thu Oct 15 15:32:25 2015
@@ -118,7 +118,7 @@ def add_lldb_module_directory():
 
         # Trim the result.
         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 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
     except Exception as exception:
         print "failed to find python path: {}".format(exception)
-    elif platform.system() != 'Windows':
-        
+
 
 def add_lldb_test_package_paths(check_dir):
     """Adds the lldb test infrastructure modules to the python path.




More information about the lldb-commits mailing list