[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XEND] Hide other_config from console and vfb SXP to prevent string
# HG changeset patch # User Alastair Tse <atse@xxxxxxxxxxxxx> # Date 1170255740 0 # Node ID dfa9e5565063455d96b78a84c22e6e6b607d9f4a # Parent f63e1244b48dd6d8c064f4ed38b7d7cf2bdf62ee [XEND] Hide other_config from console and vfb SXP to prevent string representation of dict to appear in SXP. Signed-off-by: Alastair Tse <atse@xxxxxxxxxxxxx> --- tools/python/xen/xend/XendConfig.py | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletion(-) diff -r f63e1244b48d -r dfa9e5565063 tools/python/xen/xend/XendConfig.py --- a/tools/python/xen/xend/XendConfig.py Wed Jan 31 15:01:09 2007 +0000 +++ b/tools/python/xen/xend/XendConfig.py Wed Jan 31 15:02:20 2007 +0000 @@ -1223,7 +1223,12 @@ class XendConfig(dict): "configuration dictionary.") sxpr.append(dev_type) - config = [(opt, val) for opt, val in dev_info.items()] + if dev_type in ('console', 'vfb'): + config = [(opt, val) for opt, val in dev_info.items() + if opt != 'other_config'] + else: + config = [(opt, val) for opt, val in dev_info.items()] + sxpr += config return sxpr _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |