From 93f7b049fab7877fe2ec33db6820d61803f0efad Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Mon, 11 Sep 2006 00:22:34 +0000 Subject: Fix properties handling git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2236 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Plugins/TCheetah.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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: -- cgit v1.2.3-1-g7c22