From fc81e5994c0bdadc597502951798dc97d4db7793 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Sat, 12 Nov 2005 18:45:16 +0000 Subject: switch to lxml (Logical change 1.357) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1488 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Plugins/Bundler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/Server/Plugins/Bundler.py') diff --git a/src/lib/Server/Plugins/Bundler.py b/src/lib/Server/Plugins/Bundler.py index b2ea2d9e5..c602dceb7 100644 --- a/src/lib/Server/Plugins/Bundler.py +++ b/src/lib/Server/Plugins/Bundler.py @@ -3,11 +3,11 @@ __revision__ = '$Revision$' from copy import deepcopy from syslog import LOG_ERR, syslog +from lxml.etree import Element, XML +from xml.parsers.expat import ExpatError from Bcfg2.Server.Plugin import Plugin, SingleXMLFileBacked, XMLFileBacked, DirectoryBacked -from elementtree.ElementTree import Element, XML -from xml.parsers.expat import ExpatError class ImageFile(SingleXMLFileBacked): '''This file contains image -> system mappings''' -- cgit v1.2.3-1-g7c22