summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/TCheetah.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-11-22 23:46:30 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-11-22 23:46:30 +0000
commit01c70ca836f50bc6c960190e7ab9979c659e5441 (patch)
tree7a2b17a41e90da36a50e167d98e2d2cb0cc5ed0f /src/lib/Server/Plugins/TCheetah.py
parent4344451918963491293b4e3419935e2691e9aff6 (diff)
downloadbcfg2-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.py2
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())