diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-01-18 16:30:43 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-01-18 16:30:43 +0000 |
commit | a48f5677961538cbba6c3e794e1d267649f8a15d (patch) | |
tree | c4f949173bbd8aa839a500ad4183904a39ed0364 /src/lib/Server/Plugins | |
parent | a7b55d920c10c755f5e5a6c1ae7137704b999a37 (diff) | |
download | bcfg2-a48f5677961538cbba6c3e794e1d267649f8a15d.tar.gz bcfg2-a48f5677961538cbba6c3e794e1d267649f8a15d.tar.bz2 bcfg2-a48f5677961538cbba6c3e794e1d267649f8a15d.zip |
Tighten up error handling in TCheetah (Resolves Ticket #336)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2694 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins')
-rw-r--r-- | src/lib/Server/Plugins/TCheetah.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/TCheetah.py b/src/lib/Server/Plugins/TCheetah.py index c6a603107..f812db9f9 100644 --- a/src/lib/Server/Plugins/TCheetah.py +++ b/src/lib/Server/Plugins/TCheetah.py @@ -50,7 +50,7 @@ class TemplateFile: try: entry.text = str(self.template) except: - logger.error("Failed to template %s" % entry.get('name'), exc_info=1) + logger.error("Failed to template %s" % entry.get('name')) raise Bcfg2.Server.Plugin.PluginExecutionError [entry.attrib.__setitem__(key, value) for (key, value) in self.metadata.iteritems()] |