summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Bundler.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Plugins/Bundler.py')
-rw-r--r--src/lib/Server/Plugins/Bundler.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib/Server/Plugins/Bundler.py b/src/lib/Server/Plugins/Bundler.py
index ec73d5022..bf0c42416 100644
--- a/src/lib/Server/Plugins/Bundler.py
+++ b/src/lib/Server/Plugins/Bundler.py
@@ -52,13 +52,8 @@ class Bundler(Bcfg2.Server.Plugin.Plugin,
raise Bcfg2.Server.Plugin.PluginInitError
def template_dispatch(self, name):
- if name.endswith('.xml') or name.endswith('.genshi'):
- bundle = lxml.etree.parse(name)
- nsmap = bundle.getroot().nsmap
- else:
- self.logger.warning("Skipping unknown file %s" % name)
- return
-
+ bundle = lxml.etree.parse(name)
+ nsmap = bundle.getroot().nsmap
if name.endswith('.xml'):
if have_genshi and \
(nsmap == {'py': 'http://genshi.edgewall.org/'}):