blob: 5a92431b660331d881616079789de47845069e12 [file] [log] [blame]
jadmanskicefe2652008-10-08 21:02:27 +00001from autotest_lib.client.bin import base_sysinfo
jadmanski8cd6ab32008-06-03 15:42:11 +00002try:
jadmanski0afbb632008-06-06 21:10:57 +00003 from autotest_lib.client.bin import site_sysinfo
jadmanski8cd6ab32008-06-03 15:42:11 +00004except ImportError:
jadmanskicefe2652008-10-08 21:02:27 +00005 # no site_sysinfo, just make a class using the base version
6 class sysinfo(base_sysinfo.base_sysinfo):
7 pass
8else:
9 # otherwise, use the site version (should inherit from the base)
10 class sysinfo(site_sysinfo.site_sysinfo):
11 pass
jadmanskic09fc152008-10-15 17:56:59 +000012
13# pull in some data stucture stubs from base_sysinfo, for convenience
14logfile = base_sysinfo.logfile
15command = base_sysinfo.command