client/rhel/rhn-client-tools/src/up2date_client/hardware.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit d9ae87f569febad86f0d33ce6f41bf90046c3fd2
Author: Pradeep Kilambi <pkilambi(a)redhat.com>
Date: Tue Aug 4 17:36:45 2009 -0400
494019 - Fixing the registration on python 2.6 to not include dbus.String objects in
hardware profile as new xmlrpclib _dump method validates based on __dict__ on value.
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 acc2746..5d7cdba 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
@@ -137,7 +137,7 @@ def process_hal_nodes(node):
dev = {}
dev['class'] = node.classification
#get bus
- dev['bus'] = get_device_bus(node)
+ dev['bus'] = str(get_device_bus(node))
#get scsi info
if dev['bus'] == 'scsi':
@@ -151,15 +151,15 @@ def process_hal_nodes(node):
dev['prop4'] = parent.properties['scsi.lun']
- dev['driver'] = get_device_driver(node)
+ dev['driver'] = str(get_device_driver(node))
device_path = get_device_path(node)
if device_path:
- dev['device'] = device_path
+ dev['device'] = str(device_path)
- dev['desc'] = get_device_description(node)
+ dev['desc'] = str(get_device_description(node))
- dev['pciType'] = get_device_pcitype(node)
+ dev['pciType'] = str(get_device_pcitype(node))
dev['detached'] = 0
kudzu_list.append(dev)
Show replies by thread