Skip to content
Snippets Groups Projects
Commit 1ac4ae0b authored by Adam J. Stewart's avatar Adam J. Stewart Committed by Todd Gamblin
Browse files

Make unzip quiet (#2593)

parent f487102c
No related branches found
No related tags found
No related merge requests found
......@@ -314,7 +314,7 @@ def __call__(self, stage, url):
if stage.archive_file.endswith('.zip'):
try:
unzip = which('unzip')
output = unzip('-l', stage.archive_file, output=str)
output = unzip('-lq', stage.archive_file, output=str)
except:
output = ''
else:
......
......@@ -45,6 +45,7 @@ def decompressor_for(path, extension=None):
if ((extension and re.match(r'\.?zip$', extension)) or
path.endswith('.zip')):
unzip = which('unzip', required=True)
unzip.add_default_arg('-q')
return unzip
if extension and re.match(r'gz', extension):
gunzip = which('gunzip', required=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment