From 8a64029b079c4ac98b62a1be47bff2e1f57c1b89 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Fri, 29 Jun 2012 16:05:03 -0400 Subject: [PATCH] Remove blank text nodes during xml parsing --- common/lib/keystore/xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/keystore/xml.py b/common/lib/keystore/xml.py index d475077733..0672e4a7ff 100644 --- a/common/lib/keystore/xml.py +++ b/common/lib/keystore/xml.py @@ -9,7 +9,7 @@ from . import ModuleStore, Location from .exceptions import ItemNotFoundError etree.set_default_parser(etree.XMLParser(dtd_validation=False, load_dtd=False, - remove_comments=True)) + remove_comments=True, remove_blank_text=True)) log = logging.getLogger(__name__)