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

Unified Diff: server/hosts/chromiumos_host.py

Issue 5626007: move chromiumos_update into client/common_lib/cros (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: Created 10 years 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/common_lib/cros/common.py ('k') | server/site_tests/autoupdate_Host/autoupdate_Host.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/hosts/chromiumos_host.py
diff --git a/server/hosts/chromiumos_host.py b/server/hosts/chromiumos_host.py
index a2cb335f6e0719e029f0a8e4999354632291712c..6bb4130d7b54635401ede17a9bb01871e8611250 100644
--- a/server/hosts/chromiumos_host.py
+++ b/server/hosts/chromiumos_host.py
@@ -2,7 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from autotest_lib.client.common_lib import chromiumos_updater, global_config
+from autotest_lib.client.common_lib import global_config
+from autotest_lib.client.common_lib.cros import autoupdater
from autotest_lib.server import autoserv_parser
from autotest_lib.server.hosts import base_classes
@@ -31,8 +32,8 @@ class ChromiumOSHost(base_classes.Host):
update_url=parser.options.image
elif not update_url:
return False
- updater = chromiumos_updater.ChromiumOSUpdater(host=self,
- update_url=update_url)
+ updater = autoupdater.ChromiumOSUpdater(host=self,
+ update_url=update_url)
updater.run_update()
# Updater has returned, successfully, reboot the host.
self.reboot(timeout=60, wait=True)
« no previous file with comments | « client/common_lib/cros/common.py ('k') | server/site_tests/autoupdate_Host/autoupdate_Host.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698