Commit 29240d10 authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Make mini_installer/create_zip.py silent.

zip_mini_installer_tests runs this script as part of the build, and the build
is supposed to be silent except for errors.

Bug: none
Change-Id: I97b25cabf36fe4f2df577877c46159fad389f3dc
Reviewed-on: https://chromium-review.googlesource.com/c/1342597Reviewed-by: default avatarGreg Thompson <grt@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#609702}
parent 26eb63c2
......@@ -105,7 +105,7 @@ def main():
if args.installer_path:
installer_name = os.path.split(args.installer_path)[-1]
run_args.append('--installer-path=' + installer_name)
logging.info('Archiving: %s', installer_name)
logging.debug('Archiving: %s', installer_name)
zipf.write(args.installer_path, installer_name)
if args.previous_version_installer_path:
......@@ -113,14 +113,14 @@ def main():
args.previous_version_installer_path)[-1]
run_args.append(
'--previous-version-installer-path=' + previous_version_installer_name)
logging.info('Archiving: %s', previous_version_installer_name)
logging.debug('Archiving: %s', previous_version_installer_name)
zipf.write(
args.previous_version_installer_path, previous_version_installer_name)
if args.chromedriver_path:
chromedriver_name = os.path.split(args.chromedriver_path)[-1]
run_args.append('--chromedriver-path=' + chromedriver_name)
logging.info('Archiving: %s', chromedriver_name)
logging.debug('Archiving: %s', chromedriver_name)
zipf.write(
args.chromedriver_path, chromedriver_name)
......@@ -133,11 +133,11 @@ def main():
os.path.split('README.txt')[-1])
# Archive this and the chromedriver code directories
logging.info('Zipping chrome/test/mini_installer')
logging.debug('Zipping chrome/test/mini_installer')
ArchiveDirectory(THIS_DIR, zipf)
logging.info('Zipping third_party/webdriver/pylib')
logging.debug('Zipping third_party/webdriver/pylib')
ArchiveDirectory(SELENIUM_PATH, zipf)
logging.info('Wrote zip to %s', args.output_path)
logging.debug('Wrote zip to %s', args.output_path)
return 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment