From 70dfd6b8d478270f60445870fba6789b1cfd5683 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 17 Oct 2018 09:19:10 +0000 Subject: [PATCH] Use LXML everywhere --- catalog/catalog.py | 3 ++- catalog/sgprops.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/catalog/catalog.py b/catalog/catalog.py index 7098237..b13320b 100644 --- a/catalog/catalog.py +++ b/catalog/catalog.py @@ -2,7 +2,8 @@ import argparse import datetime -import xml.etree.cElementTree as ET +#import xml.etree.cElementTree as ET +import lxml.etree as ET import os import re import sgprops diff --git a/catalog/sgprops.py b/catalog/sgprops.py index 67815c5..5819058 100644 --- a/catalog/sgprops.py +++ b/catalog/sgprops.py @@ -2,7 +2,8 @@ from xml.sax import make_parser, handler, expatreader # ElementTree for writing -import xml.etree.cElementTree as ET +#import xml.etree.cElementTree as ET +import lxml.etree as ET import re, os