summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2012-04-27 14:38:35 -0400
committerBill Peck <bpeck@redhat.com>2012-04-27 14:38:35 -0400
commit31db8dd0d71246680a141b077cf03ea1f16c31b3 (patch)
tree40dd004492df9a0db14f9dcb425b7b651ebb2b14
parentdf93385fa22aabfed0705c23dc7199275c84560e (diff)
Bug: 817122
-rwxr-xr-xTasks/distribution/inventory/pushInventory.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tasks/distribution/inventory/pushInventory.py b/Tasks/distribution/inventory/pushInventory.py
index f06e262..5b28bb3 100755
--- a/Tasks/distribution/inventory/pushInventory.py
+++ b/Tasks/distribution/inventory/pushInventory.py
@@ -404,10 +404,10 @@ def read_inventory():
deviceID = "%04x" % (DeviceID and DeviceID or 0),
subsysVendorID = "%04x" % (SubsysVendorID and SubsysVendorID or 0),
subsysDeviceID = "%04x" % (SubsysDeviceID and SubsysDeviceID or 0),
- bus = Bus,
- driver = Driver,
- type = Type,
- description = Description)
+ bus = str(Bus),
+ driver = str(Driver),
+ type = str(Type),
+ description = str(Description))
data['Devices'].append(device)
return data