diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-05-30 19:45:59 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-05-30 19:45:59 +0000 |
commit | 57e79f8f486b2b40e1a582dfdf39796dbb5ac4b9 (patch) | |
tree | 0b615b47c00e8a52c9c3612d5b128ce74853af5b | |
parent | 67e71c9ff4d8ed55341c99b2cc278b8efa294e89 (diff) | |
download | bcfg2-57e79f8f486b2b40e1a582dfdf39796dbb5ac4b9.tar.gz bcfg2-57e79f8f486b2b40e1a582dfdf39796dbb5ac4b9.tar.bz2 bcfg2-57e79f8f486b2b40e1a582dfdf39796dbb5ac4b9.zip |
Add template path information into [ST]Genshi processing
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4640 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r-- | src/lib/Server/Plugins/TGenshi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/TGenshi.py b/src/lib/Server/Plugins/TGenshi.py index c1dc25dfb..e58fb8017 100644 --- a/src/lib/Server/Plugins/TGenshi.py +++ b/src/lib/Server/Plugins/TGenshi.py @@ -49,7 +49,7 @@ class TemplateFile: fname = entry.get('realname', entry.get('name')) try: stream = self.template.generate( \ - name=fname, metadata=metadata, + name=fname, metadata=metadata, path=self.name, properties=self.properties).filter(removecomment) if isinstance(self.template, TextTemplate): entry.text = stream.render('text') |