Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(502)

Unified Diff: client/bin/harness_autoserv.py

Issue 1595019: Merge remote branch 'origin/upstream' into tempbranch (Closed)
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/bin/base_partition.py ('k') | client/bin/kernel.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/bin/harness_autoserv.py
diff --git a/client/bin/harness_autoserv.py b/client/bin/harness_autoserv.py
index 0bfbcdd370b90c48852e5c8a1d7343b3f91051a5..edab24f980b3da252338b81e312e51f86f24b827 100644
--- a/client/bin/harness_autoserv.py
+++ b/client/bin/harness_autoserv.py
@@ -99,6 +99,8 @@ class AutoservFetcher(base_packages.RepositoryFetcher):
def fetch_pkg_file(self, filename, dest_path):
+ if os.path.exists(dest_path):
+ os.remove(dest_path)
logging.info('Fetching %s from autoserv to %s', filename, dest_path)
self.job_harness.fetch_package(filename, dest_path)
if os.path.exists(dest_path):
« no previous file with comments | « client/bin/base_partition.py ('k') | client/bin/kernel.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698