From df2600f579ded134705e7963734a62570bb49a64 Mon Sep 17 00:00:00 2001 From: kravone Date: Wed, 29 Jun 2016 21:15:26 +0200 Subject: [PATCH] Revert "Faster XML processing and lower memory" --- resources/lib/utils.py | 5 +---- resources/lib/videonodes.py | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/resources/lib/utils.py b/resources/lib/utils.py index 34d22449..cda4c5e2 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -11,10 +11,7 @@ import StringIO import os import time import unicodedata -try: - import xml.etree.cElementTree as etree -except ImportError: - import xml.etree.ElementTree as etree +import xml.etree.ElementTree as etree from datetime import datetime import xbmc diff --git a/resources/lib/videonodes.py b/resources/lib/videonodes.py index a35695a3..bf1d20f4 100644 --- a/resources/lib/videonodes.py +++ b/resources/lib/videonodes.py @@ -3,10 +3,7 @@ ################################################################################################# import shutil -try: - import xml.etree.cElementTree as etree -except ImportError: - import xml.etree.ElementTree as etree +import xml.etree.ElementTree as etree import xbmc import xbmcaddon