summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/TCheetah.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-07-23 18:37:47 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-07-23 18:37:47 +0000
commit3b97e9dcdefe4ad52b657844739d066cdbf41957 (patch)
tree91b6da6c3c414389fae0fd6d555d9e5468b7d286 /src/lib/Server/Plugins/TCheetah.py
parent7e9b393625aeddac4051b8c9f3d9887e7f93959c (diff)
downloadbcfg2-3b97e9dcdefe4ad52b657844739d066cdbf41957.tar.gz
bcfg2-3b97e9dcdefe4ad52b657844739d066cdbf41957.tar.bz2
bcfg2-3b97e9dcdefe4ad52b657844739d066cdbf41957.zip
merge realname into path for altsrc templates
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3549 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/TCheetah.py')
-rw-r--r--src/lib/Server/Plugins/TCheetah.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/TCheetah.py b/src/lib/Server/Plugins/TCheetah.py
index 8ad0bcd42..fa52d8811 100644
--- a/src/lib/Server/Plugins/TCheetah.py
+++ b/src/lib/Server/Plugins/TCheetah.py
@@ -46,8 +46,7 @@ class TemplateFile:
def BuildFile(self, entry, metadata):
'''Build literal file information'''
self.template.metadata = metadata
- self.template.path = entry.get('name')
- self.template.realpath = entry.get('realname', entry.get('name'))
+ self.template.path = entry.get('realname', entry.get('name'))
self.template.properties = self.properties.properties
try:
entry.text = str(self.template)