From: Michael Tremer Date: Sun, 12 Dec 2010 12:45:09 +0000 (+0100) Subject: Fix detection of system vendor. X-Git-Tag: v0.10~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=240fefead805fe02d0dfc8ca28c2359c03cdd212;p=oddments%2Ffireinfo.git Fix detection of system vendor. --- diff --git a/fireinfo/system.py b/fireinfo/system.py index 8991294..3a62d05 100644 --- a/fireinfo/system.py +++ b/fireinfo/system.py @@ -245,7 +245,7 @@ class System(object): @property def vendor(self): ret = None - for file in ("chassis_vendor", "board_vendor", "sys_vendor",): + for file in ("sys_vendor", "board_vendor", "chassis_vendor",): ret = read_from_file(os.path.join(SYS_CLASS_DMI, file)) if ret: break