Replace te use of lxml etree by xml.etree.ElementTree - SL #3418
The API is compatible and is included in python from version 2.5
This change enable us to remove python-lxml from the OLPC image.
Signed-of-by: Gonzalo Odiard <gonzalo@laptop.org>
Gonzalo Odiard
12 years ago
17 | 17 |
import zipfile
|
18 | 18 |
import tempfile
|
19 | 19 |
import os
|
20 | |
from lxml import etree
|
|
20 |
import xml.etree.ElementTree as etree
|
21 | 21 |
import shutil
|
22 | 22 |
|
23 | 23 |
import navmap
|
0 | 0 |
import os
|
1 | |
from lxml import etree
|
|
1 |
import xml.etree.ElementTree as etree
|
2 | 2 |
|
3 | 3 |
|
4 | 4 |
class EpubInfo():
|
0 | |
from lxml import etree
|
|
0 |
import xml.etree.ElementTree as etree
|
1 | 1 |
from gi.repository import Gtk
|
2 | 2 |
import logging
|
3 | 3 |
|