client/rhel/rhn-client-tools/src/up2date_client/hardware.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4575224ad3f7bf8293e3d77eccf4a0415f356603
Author: Pradeep Kilambi <pkilambi(a)redhat.com>
Date: Tue Aug 25 17:14:12 2009 -0400
518336 - fixing the None unmarshel issue if smbios is missing and set to None instead
of empty dict.
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 4dff5c9..115bce8 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
@@ -865,7 +865,7 @@ def get_hal_system_and_smbios():
log = up2dateLog.initLog()
msg = "Error reading system and smbios information: %s\n" %
(sys.exc_type)
log.log_debug(msg)
- return
+ return {}
system_and_smbios = {}
for key in props:
@@ -882,7 +882,7 @@ def get_hal_smbios():
log = up2dateLog.initLog()
msg = "Error reading smbios information: %s\n" % (sys.exc_type)
log.log_debug(msg)
- return
+ return {}
smbios = {}
for key in props:
if key.startswith('smbios'):
Show replies by date