diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-11-22 23:46:30 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-11-22 23:46:30 +0000 |
commit | 01c70ca836f50bc6c960190e7ab9979c659e5441 (patch) | |
tree | 7a2b17a41e90da36a50e167d98e2d2cb0cc5ed0f /src/lib/Server/Plugins/TCheetah.py | |
parent | 4344451918963491293b4e3419935e2691e9aff6 (diff) | |
download | bcfg2-01c70ca836f50bc6c960190e7ab9979c659e5441.tar.gz bcfg2-01c70ca836f50bc6c960190e7ab9979c659e5441.tar.bz2 bcfg2-01c70ca836f50bc6c960190e7ab9979c659e5441.zip |
Fix properties in cheetah templates
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4983 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/TCheetah.py')
-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 1277ce390..ff61eb286 100644 --- a/src/lib/Server/Plugins/TCheetah.py +++ b/src/lib/Server/Plugins/TCheetah.py @@ -26,7 +26,7 @@ class TemplateFile: self.template = Cheetah.Template.Template(open(self.name).read(), compilerSettings=s, searchList = [self.searchlist]) - + self.template.properties = self.properties except Cheetah.Parser.ParseError, perror: logger.error("Cheetah parse error for file %s" % (self.name)) logger.error(perror.report()) |