summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing Chen <chying@google.com>2016-06-25 00:24:03 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-06-25 00:24:03 +0000
commit75ed67f76cc3a819fd56825e8110bb14126953ad (patch)
tree1071f273cd8ff199e5653743f89ab0788d3adc69
parent16bf88d4d8208871abff27f47007f492cfc1f76b (diff)
parent03a52424e029c2bee4124b983f43dbe7046963d5 (diff)
downloadadt-infra-75ed67f76cc3a819fd56825e8110bb14126953ad.tar.gz
Merge "Remove image files after unzip to save disk space"
-rw-r--r--emu_test/utils/download_unzip_image.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/emu_test/utils/download_unzip_image.py b/emu_test/utils/download_unzip_image.py
index 48fba231..72a38a99 100644
--- a/emu_test/utils/download_unzip_image.py
+++ b/emu_test/utils/download_unzip_image.py
@@ -115,6 +115,7 @@ def download_and_unzip():
unzip_addon_dir(file_name, dst_dir)
else:
verbose_call(['unzip', '-o', file_name, '-d', dst_dir])
+ verbose_call(['rm', '-rf', file_name])
else:
raise ValueError('Error: Unknown branch!')
except Exception as e: