Comment 92 for bug 199014

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote : Re: [Bug 199014] Re: python-xml removal: please drop/replace (build) dependencies

enguerran wrote:
> A simple python script with those two lines doesn't work.
> #!/usr/bin/python
> import xml.dom.ext
>
> I got the following message :
> File "TGFXml.py", line 2, in <module>
> import xml.dom.ext
> ImportError: No module named ext
>
>
> Which package (exept python-xml), on a ubuntu, should provide this module ? I have python-4suite-xml and python-lxml installed.
>

None does. You will need to change it to either use python's xml modules (which
are a subset of python-xml AFAIK) or use 4suite/lxml APIs.