diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-02-14 11:17:40 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-02-14 11:17:40 -0500 |
commit | c7fbaf3552b61cb272188a9cfc7590c0f14934a8 (patch) | |
tree | 3a749afea8eae0263f1e4b4368a11aae36fbe8a0 /src/lib/Bcfg2/Server/Plugins | |
parent | e3f871022b9cc4bb4916c23920c6621be8c33e7d (diff) | |
download | bcfg2-c7fbaf3552b61cb272188a9cfc7590c0f14934a8.tar.gz bcfg2-c7fbaf3552b61cb272188a9cfc7590c0f14934a8.tar.bz2 bcfg2-c7fbaf3552b61cb272188a9cfc7590c0f14934a8.zip |
better Genshi syntax lint checker
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Bundler.py | 3 |
1 files changed, 1 insertions, 2 deletions
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 |