aboutsummaryrefslogtreecommitdiff
path: root/auto_delete_nightly_test_data.py
diff options
context:
space:
mode:
authorcmtice <cmtice@google.com>2015-03-11 10:10:41 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-03-11 21:45:18 +0000
commit07eb87f6874d694d75887c0e889931a2cb4f36c4 (patch)
treeb75119e2c08f5bf812d4bfd9a380a307d87afa81 /auto_delete_nightly_test_data.py
parenta8446712a67f5a5d422ef1cbc40f72f4f9c4ae52 (diff)
downloadtoolchain-utils-07eb87f6874d694d75887c0e889931a2cb4f36c4.tar.gz
Fix typo that was causing some files to not be found/deleted.
BUG=None TEST=Tested command by hand. Change-Id: Ie61fcd802fe91ca02f361fe3665001409e4b185f Reviewed-on: https://chrome-internal-review.googlesource.com/207315 Reviewed-by: Rahul Chaudhry <rahulchaudhry@google.com> Commit-Queue: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'auto_delete_nightly_test_data.py')
-rwxr-xr-xauto_delete_nightly_test_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_delete_nightly_test_data.py b/auto_delete_nightly_test_data.py
index 8e25ce31..8a9a105a 100755
--- a/auto_delete_nightly_test_data.py
+++ b/auto_delete_nightly_test_data.py
@@ -110,7 +110,7 @@ def CleanChromeOsTmpAndImages():
cmd = ('find {0}/*-release -type f '
r'\( -name "chromiumos_test_image.tar" -amin +60 -o '
r' -name "chromiumos_test_image.tar.xz" -amin +60 -o '
- r' -name "chromiumos_test_image.bin -amin +1440" \) '
+ r' -name "chromiumos_test_image.bin" -amin +1440 \) '
r'-exec bash -c "echo rm -f {{}}" \; '
r'-exec bash -c "rm -f {{}}" \;').format(chromeos_chroot_tmp)
rv2 = ce.RunCommand(cmd, return_output=False, print_to_console=True)