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