leak (?) in XendConfig.py
PATCH 1/1 leak (?) in XendConfig.py
The following patch fixes (or breaks) the grow of the LEGACY_UNSUPPORTED_BY_XENAPI_CFG list each time we instanciate a new XendConfig.
Signed-off-by Pascal Bouchareine <[email protected]>
Signature · 2 lines
\o/ Pascal Bouchareine - Gandi g 0170393757 15, place de la Nation - 75011 Paris
tools/python/xen/xend/XendConfig.py +2 -2
@@ -501,8 +501,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)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel