From: Akio Takebe Subject: Re: [Patch][RFC] xend config list Date: Tue, 18 Sep 2007 10:00:00 +0900 Message-ID: <4CC7F98F3D1D5Ctakebe_akio@jp.fujitsu.com> References: <43C7F6A0BB8A3Ctakebe_akio@jp.fujitsu.com> <20070918000810.GF27550@fc.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070918000810.GF27550@fc.hp.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Aron Griffis Cc: xen-devel , Akio Takebe List-Id: xen-devel@lists.xenproject.org Hi, Aron >Akio Takebe wrote: [Fri Sep 14 2007, 03:27:40AM EDT] >> + if show_xend: >> + print 'config_default\t\t\t\t: ',xoptions.config_default >> + print 'xoptions.config_path\t\t\t: ',xoptions.config_path >> + print 'xoptions.config_var\t\t\t: ',xoptions.config_var [snip..] >> xend_unix_server_default >> + print 'xend_unix_xmlrpc_server_default\t\t: ',xoptions. >> xend_unix_xmlrpc_server_default >> + print 'xend_vnc_listen_default\t\t\t: ',xoptions. >> xend_vnc_listen_default >> + print 'config:' >> + for i in xoptions.config: >> + print " ",i > >This long list is bound to go stale pretty quickly. I'm not a python >expert but surely there's a way to loop through the values you want to >show? Thank you for your comment. It's good idea, I'll try to find the way. If anybody know that, please tell me. Best Regards, Akio Takebe