|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xend: Avoid multiple assignments to same
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1219742072 -3600
# Node ID 21294d41c26e60a7bfe3759b6cb1acc8788c6045
# Parent 95f1dc27e1822e6d7e1838708dbf344f85e5adcd
xend: Avoid multiple assignments to same dict key in pci_convert_sxp_to_dict
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
tools/python/xen/xend/XendConfig.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff -r 95f1dc27e182 -r 21294d41c26e tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py Mon Aug 25 14:03:42 2008 +0100
+++ b/tools/python/xen/xend/XendConfig.py Tue Aug 26 10:14:32 2008 +0100
@@ -1538,9 +1538,9 @@ class XendConfig(dict):
pci_dev_info[opt] = val
except TypeError:
pass
- # append uuid for each pci device.
- dpci_uuid = pci_dev_info.get('uuid', uuid.createString())
- pci_dev_info['uuid'] = dpci_uuid
+ # append uuid for each pci device.
+ dpci_uuid = pci_dev_info.get('uuid', uuid.createString())
+ pci_dev_info['uuid'] = dpci_uuid
pci_devs.append(pci_dev_info)
dev_config['devs'] = pci_devs
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] xend: Avoid multiple assignments to same dict key in pci_convert_sxp_to_dict,
Xen patchbot-unstable <=
|
|
|
|
|