diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-02-02 10:53:24 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-02-02 10:53:24 +0000 |
commit | 48a61dfceae46a30694d5fe9e70e3123f5dfafb7 (patch) | |
tree | 6ff4722d5f580ad2712b272b716a47d8c0640206 /tools | |
parent | 912c5a1f617d48e383be042645ec0c33b8c7309c (diff) | |
download | xen-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.py | 4 |
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) |