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

Unified Diff: server/autotest.py

Issue 3554003: Merge remote branch 'cros/upstream' into tempbranch3 (Closed) Base URL: http://git.chromium.org/git/autotest.git
Patch Set: Created 10 years, 3 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 | « scheduler/scheduler_models.py ('k') | server/git.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/autotest.py
diff --git a/server/autotest.py b/server/autotest.py
index f918b27be728dc578f433056ea192a88249f3398..eb250952ba7bdd58d565ef230e54e5fd6342e684 100644
--- a/server/autotest.py
+++ b/server/autotest.py
@@ -213,11 +213,10 @@ class BaseAutotest(installable_object.InstallableObject):
try:
self._install_using_packaging(host, autodir)
return
- except global_config.ConfigError, e:
+ except (error.PackageInstallError, error.AutoservRunError,
+ global_config.ConfigError), e:
logging.info("Could not install autotest using the packaging "
- "system: %s", e)
- except (error.PackageInstallError, error.AutoservRunError), e:
- logging.error("Could not install autotest from repos")
+ "system: %s. Trying other methods", e)
# try to install from file or directory
if self.source_material:
« no previous file with comments | « scheduler/scheduler_models.py ('k') | server/git.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698