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

Unified Diff: server/host_attributes.py

Issue 6677157: Preparing to upstream: Created host_attributes and server_job_utils files. (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: Created 9 years, 9 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 | « no previous file | server/server_job.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/host_attributes.py
diff --git a/server/host_attributes.py b/server/host_attributes.py
new file mode 100644
index 0000000000000000000000000000000000000000..1ac92e2e83a97be77e6937f9b462577acbac2ad1
--- /dev/null
+++ b/server/host_attributes.py
@@ -0,0 +1,20 @@
+# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import utils
+
+
+class base_host_attributes(object):
+ def __init__(self, host):
+ pass
+
+
+site_host_attributes = utils.import_site_class(
+ __file__, "autotest_lib.server.site_host_attributes",
+ "HostAttributes", base_host_attributes)
+
+
+class host_attributes(site_host_attributes):
+ def __init__(self, host):
+ super(host_attributes, self).__init__(host)
« no previous file with comments | « no previous file | server/server_job.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698