diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Server/Plugins/Bundler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/Bundler.py b/src/lib/Server/Plugins/Bundler.py index e0e2ad7f0..ee7edb49c 100644 --- a/src/lib/Server/Plugins/Bundler.py +++ b/src/lib/Server/Plugins/Bundler.py @@ -5,7 +5,7 @@ import copy, lxml.etree, Bcfg2.Server.Plugin, re try: import Bcfg2.Server.Plugins.SGenshi - import genshi.template + import genshi.template, genshi.template.base have_genshi = True except: have_genshi = False @@ -58,7 +58,7 @@ class Bundler(Bcfg2.Server.Plugin.Plugin, elif len(entries) == 1: try: bundleset.append(entries[0].get_xml_value(metadata)) - except genshi.template.TemplateError, t: + except genshi.template.base.TemplateError, t: self.logger.error("Bundler: Failed to template genshi bundle %s" \ % (bundlename)) self.logger.error(t) |