Subject: Re: RuntimeError: (61, 'Connection refused')
To: Ari Suutari <ari@suutari.iki.fi>
From: Tino Wildenhain <tino@wildenhain.de>
List: port-xen
Date: 07/04/2006 11:05:46
Ari Suutari schrieb:
> Hi.
>
> Marcin Jessa wrote:
>
>> Using config file "/usr/local/etc/xen/mx2.yazzy.org".
>> /usr/local/lib/python2.3/xmllib.py:9: DeprecationWarning: The xmllib
>> module is obsolete. Use xml.sax instead.
>> warnings.warn("The xmllib module is obsolete. Use xml.sax
>> instead.", DeprecationWarning)
>>
>> As I dont code python, what may be solution to this?
>
>
> You should :-) It's great language !
>
> To get rid of the warning, just edit
> /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.
For end users, the warnings can be supressed, see
-W option for the python interpreter.
Regards
Tino