summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-09-11 00:22:34 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-09-11 00:22:34 +0000
commit93f7b049fab7877fe2ec33db6820d61803f0efad (patch)
tree0d5c803a6d2960ab84358a7fa125d57b437d1295 /src
parent667b91bc1ba17c24f279e6b63c0b061d79a16d08 (diff)
downloadbcfg2-93f7b049fab7877fe2ec33db6820d61803f0efad.tar.gz
bcfg2-93f7b049fab7877fe2ec33db6820d61803f0efad.tar.bz2
bcfg2-93f7b049fab7877fe2ec33db6820d61803f0efad.zip
Fix properties handling
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2236 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugins/TCheetah.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/TCheetah.py b/src/lib/Server/Plugins/TCheetah.py
index 8b51f5a3d..ec3214345 100644
--- a/src/lib/Server/Plugins/TCheetah.py
+++ b/src/lib/Server/Plugins/TCheetah.py
@@ -19,12 +19,13 @@ class TemplateFile(FileBacked):
def Index(self):
'''Create the template data structures'''
self.template = Template(self.data, searchList=[self.properties])
- self.template.properties = self.properties.properties
+ self.template.properties = self.properties
# put in owner permission detection
def BuildFile(self, entry, metadata):
'''Build literal file information'''
self.template.metadata = metadata
+ self.template.properties = self.properties.properties
try:
entry.text = str(self.template)
except: