[clang] 00997d1 - [analyzer][tests] Fix zip unpacking

Valeriy Savchenko via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 10 01:33:21 PDT 2020


Author: Valeriy Savchenko
Date: 2020-07-10T11:32:13+03:00
New Revision: 00997d1cad9ecd40c92aeae40269f6bfb9e58d11

URL: https://github.com/llvm/llvm-project/commit/00997d1cad9ecd40c92aeae40269f6bfb9e58d11
DIFF: https://github.com/llvm/llvm-project/commit/00997d1cad9ecd40c92aeae40269f6bfb9e58d11.diff

LOG: [analyzer][tests] Fix zip unpacking

Differential Revision: https://reviews.llvm.org/D83374

Added: 
    

Modified: 
    clang/utils/analyzer/SATestBuild.py

Removed: 
    


################################################################################
diff  --git a/clang/utils/analyzer/SATestBuild.py b/clang/utils/analyzer/SATestBuild.py
index ee510e03cc5a..eefab869f6ef 100644
--- a/clang/utils/analyzer/SATestBuild.py
+++ b/clang/utils/analyzer/SATestBuild.py
@@ -601,7 +601,7 @@ def _download_from_git(self, directory: str, build_log_file: IO):
                    stdout=build_log_file, shell=True)
 
     def _unpack_zip(self, directory: str, build_log_file: IO):
-        zip_files = list(glob.glob(os.path.join(directory, "/*.zip")))
+        zip_files = list(glob.glob(directory + "/*.zip"))
 
         if len(zip_files) == 0:
             raise ValueError(


        


More information about the cfe-commits mailing list