From 670a84e31da9d0cb814ac4ba4e09c356f183e5c4 Mon Sep 17 00:00:00 2001 From: Jennifer Wang Date: Mon, 18 Apr 2016 15:30:54 -0700 Subject: [PATCH] Revert "import_cldr: if lxml is installed, use it" This reverts commit 9b5c7f3678167f03ec39fd1c25f98d0e0d41621f. --- scripts/import_cldr.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/import_cldr.py b/scripts/import_cldr.py index f684de343..8de704360 100755 --- a/scripts/import_cldr.py +++ b/scripts/import_cldr.py @@ -18,12 +18,9 @@ import sys try: - import lxml.etree as ElementTree + from xml.etree import cElementTree as ElementTree except ImportError: - try: - from xml.etree import cElementTree as ElementTree - except ImportError: - from xml.etree import ElementTree + from xml.etree import ElementTree # Make sure we're using Babel source, and not some previously installed version CHECKOUT_ROOT = os.path.abspath(os.path.join(