From b8f061a90ac1c2bcc06bb2cf9f960b0664afd19f Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Wed, 20 Aug 2008 15:05:09 +0000 Subject: Add source_path field for cheetah templates git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4883 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Plugins/TCheetah.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/Server') diff --git a/src/lib/Server/Plugins/TCheetah.py b/src/lib/Server/Plugins/TCheetah.py index e2b4d370d..b36e05f89 100644 --- a/src/lib/Server/Plugins/TCheetah.py +++ b/src/lib/Server/Plugins/TCheetah.py @@ -33,6 +33,7 @@ class TemplateFile: '''Build literal file information''' self.template.metadata = metadata self.template.path = entry.get('realname', entry.get('name')) + self.template.source_path = self.name try: if type(self.template) == unicode: -- cgit v1.2.3-1-g7c22