client/rhel/rhn-client-tools/src/up2date_client/hardware.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit c73ecf42e6ed012924edd3fdd772daa6f073edc4
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Mar 24 14:11:26 2010 +0100
575127 - fix typo in dmidecode key
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
b/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
index debd114..2a265d6 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
@@ -108,7 +108,7 @@ def dmi_vendor():
""" Return Vendor from dmidecode bios information.
If this value could not be fetch, returns empty string.
"""
- return get_dmi_data('/dmidecode/BIOSInfo/Vendor')
+ return get_dmi_data('/dmidecode/BIOSinfo/Vendor')
def dmi_system_uuid():
""" Return UUID from dmidecode system information.
@@ -587,13 +587,13 @@ def read_dmi():
dmidict["board"] =
get_dmi_data('/dmidecode/BaseBoardInfo/Manufacturer')
# Bios Information
- vendor = get_dmi_data('/dmidecode/BIOSInfo/Vendor')
+ vendor = get_dmi_data('/dmidecode/BIOSinfo/Vendor')
if vendor:
dmidict["bios_vendor"] = vendor
- version = get_dmi_data('/dmidecode/BIOSInfo/Version')
+ version = get_dmi_data('/dmidecode/BIOSIinfo/Version')
if version:
dmidict["bios_version"] = version
- release = get_dmi_data('/dmidecode/BIOSInfo/ReleaseDate')
+ release = get_dmi_data('/dmidecode/BIOSinfo/ReleaseDate')
if release:
dmidict["bios_release"] = release
Show replies by date