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

Unified Diff: server/autotest.py

Issue 3511003: Merge remote branch 'cros/upstream' into tempbranch2 (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
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:

Powered by Google App Engine
This is Rietveld 408576698