[Checkins] SVN: five.pt/trunk/src/five/pt/pagetemplate.py Allow to specify the full path
Hanno Schlichting
plone at hannosch.info
Fri Aug 15 17:25:00 EDT 2008
Log message for revision 89896:
Allow to specify the full path
Changed:
U five.pt/trunk/src/five/pt/pagetemplate.py
-=-
Modified: five.pt/trunk/src/five/pt/pagetemplate.py
===================================================================
--- five.pt/trunk/src/five/pt/pagetemplate.py 2008-08-15 21:12:16 UTC (rev 89895)
+++ five.pt/trunk/src/five/pt/pagetemplate.py 2008-08-15 21:25:00 UTC (rev 89896)
@@ -23,8 +23,8 @@
class ViewPageTemplateFile(property):
- def __init__(self, filename, **kwargs):
- path = self.get_path_from_prefix(None)
+ def __init__(self, filename, _prefix=None, **kwargs):
+ path = self.get_path_from_prefix(_prefix)
filename = os.path.join(path, filename)
self.template = ZopeViewPageTemplateFile(filename)
property.__init__(self, self.render)
More information about the Checkins
mailing list