aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-02-02 10:53:24 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-02-02 10:53:24 +0000
commit48a61dfceae46a30694d5fe9e70e3123f5dfafb7 (patch)
tree6ff4722d5f580ad2712b272b716a47d8c0640206 /tools
parent912c5a1f617d48e383be042645ec0c33b8c7309c (diff)
downloadxen-48a61dfceae46a30694d5fe9e70e3123f5dfafb7.tar.gz
xen-48a61dfceae46a30694d5fe9e70e3123f5dfafb7.tar.bz2
xen-48a61dfceae46a30694d5fe9e70e3123f5dfafb7.zip
xend: Fix grow of the LEGACY_UNSUPPORTED_BY_XENAPI_CFG list each time
we instantiate a new XendConfig. Signed-off-by: Pascal Bouchareine <pascal@gandi.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/xend/XendConfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py
index 2c6f3af5af..8e5d258f02 100644
--- a/tools/python/xen/xend/XendConfig.py
+++ b/tools/python/xen/xend/XendConfig.py
@@ -514,8 +514,8 @@ class XendConfig(dict):
int(sxp.child_value(sxp_cfg, "cpu_cap", 0))
# Only extract options we know about.
- extract_keys = LEGACY_UNSUPPORTED_BY_XENAPI_CFG
- extract_keys += XENAPI_CFG_TO_LEGACY_CFG.values()
+ extract_keys = LEGACY_UNSUPPORTED_BY_XENAPI_CFG + \
+ XENAPI_CFG_TO_LEGACY_CFG.values()
for key in extract_keys:
val = sxp.child_value(sxp_cfg, key)