blob: 217821f9d94e4565b514f40c828f143c5ed3df07 [file] [log] [blame]
# Copyright 2011 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
try:
from autotest_lib.server import utils
except ImportError:
import logging
logging.warning("Could not import utils from autotest_lib.server. "
"Reverting to simply: `import utils`.")
import utils
class base_host_attributes(object):
def __init__(self, host):
pass
def get_attributes(self):
return []
site_host_attributes = utils.import_site_class(
__file__, "autotest_lib.server.site_host_attributes",
"HostAttributes", base_host_attributes)
class host_attributes(site_host_attributes):
pass