summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/TCheetah.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-06-14 15:19:19 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-06-14 15:19:19 +0000
commitc508fcae36eaa7dfbec35ec9894e2c31e5ebcd5f (patch)
tree4404b00989489a7ea36178a7572d9b0cba067216 /src/lib/Server/Plugins/TCheetah.py
parent4cb8f4f6f535c1a58f0dc1fdde0d1e10b7c15461 (diff)
downloadbcfg2-c508fcae36eaa7dfbec35ec9894e2c31e5ebcd5f.tar.gz
bcfg2-c508fcae36eaa7dfbec35ec9894e2c31e5ebcd5f.tar.bz2
bcfg2-c508fcae36eaa7dfbec35ec9894e2c31e5ebcd5f.zip
Add support to pull config file entry info out (for path) (requested by jcollie)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3301 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/TCheetah.py')
-rw-r--r--src/lib/Server/Plugins/TCheetah.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/TCheetah.py b/src/lib/Server/Plugins/TCheetah.py
index f812db9f9..7848583a7 100644
--- a/src/lib/Server/Plugins/TCheetah.py
+++ b/src/lib/Server/Plugins/TCheetah.py
@@ -46,6 +46,7 @@ class TemplateFile:
def BuildFile(self, entry, metadata):
'''Build literal file information'''
self.template.metadata = metadata
+ self.template.entry = entry
self.template.properties = self.properties.properties
try:
entry.text = str(self.template)