[Lldb-commits] [lldb] r355548 - Remove redundant second os.path.join call [NFC]

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 6 12:51:28 PST 2019


Author: teemperor
Date: Wed Mar  6 12:51:28 2019
New Revision: 355548

URL: http://llvm.org/viewvc/llvm-project?rev=355548&view=rev
Log:
Remove redundant second os.path.join call [NFC]

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py?rev=355548&r1=355547&r2=355548&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py Wed Mar  6 12:51:28 2019
@@ -1865,8 +1865,7 @@ class TestBase(Base):
         Base.setUp(self)
 
         # Set the clang modules cache path used by LLDB.
-        mod_cache = os.path.join(os.path.join(os.environ["LLDB_BUILD"],
-                                              "module-cache-lldb"))
+        mod_cache = os.path.join(os.environ["LLDB_BUILD"], "module-cache-lldb")
         self.runCmd('settings set symbols.clang-modules-cache-path "%s"'
                     % mod_cache)
 




More information about the lldb-commits mailing list