From c7fbaf3552b61cb272188a9cfc7590c0f14934a8 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Thu, 14 Feb 2013 11:17:40 -0500 Subject: better Genshi syntax lint checker --- src/lib/Bcfg2/Server/Plugins/Bundler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/Bcfg2/Server/Plugins/Bundler.py') diff --git a/src/lib/Bcfg2/Server/Plugins/Bundler.py b/src/lib/Bcfg2/Server/Plugins/Bundler.py index b200346bc..7030c1574 100644 --- a/src/lib/Bcfg2/Server/Plugins/Bundler.py +++ b/src/lib/Bcfg2/Server/Plugins/Bundler.py @@ -109,8 +109,7 @@ class Bundler(Bcfg2.Server.Plugin.Plugin, """ Add the correct child entry type to Bundler depending on whether the XML file in question is a plain XML file or a templated bundle """ - bundle = lxml.etree.parse(name, - parser=Bcfg2.Server.XMLParser) + bundle = lxml.etree.parse(name, parser=Bcfg2.Server.XMLParser) nsmap = bundle.getroot().nsmap if (name.endswith('.genshi') or ('py' in nsmap and -- cgit v1.2.3-1-g7c22