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): |