Subject: Re: RuntimeError: (61, 'Connection refused')
To: Tino Wildenhain <tino@wildenhain.de>
From: Ari Suutari <ari@suutari.iki.fi>
List: port-xen
Date: 07/04/2006 12:25:16
Tino Wildenhain wrote:
>> /usr/local/lib/python2.3/xmllib.py,
>>     comment out the warning lines (well, this is not a real fix but shuts
>>     it up).
>>
> err. maybe it would be better to just replace the module?
> The warnings are there for a reason - allowing software
> developers to migrate ahead of time before a module
> is removed in some later python version.

	Of course. However, it looks like xen tools should
	be modified then, they seem to use xmlrpclib, which in
	turn uses xmlrpc. I have no idea how much work this would
	be.
> 
> For end users, the warnings can be supressed, see
> 
> -W option for the python interpreter.

	How could I pass this to, lets say "xm" without
	modifying anyting ? Is there an environment variable
	for this ?

		Ari S.