From: Thierry Parmentelat Date: Tue, 21 Oct 2008 05:41:02 +0000 (+0000) Subject: quick fix for broken build X-Git-Tag: BootManager-4.3-2~23 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=058b4130a1ee3e0228aa0d206c42adb9f4b68abd;p=bootmanager.git quick fix for broken build --- diff --git a/source/systeminfo.py b/source/systeminfo.py index 71923a9..1c921a2 100755 --- a/source/systeminfo.py +++ b/source/systeminfo.py @@ -52,6 +52,9 @@ LSPCI_CMD= "/sbin/lspci -nm" MODULE_CLASS_NETWORK= "network" MODULE_CLASS_SCSI= "scsi" +PCI_BASE_CLASS_NETWORK=0x02L +PCI_BASE_CLASS_STORAGE=0x01L + def get_total_phsyical_mem(vars = {}, log = sys.stderr): """ return the total physical memory of the machine, in kilobytes.