[Checkins] SVN: five.pt/trunk/src/five/pt/pagetemplate.py Whitespace.
Malthe Borch
mborch at gmail.com
Thu May 13 08:20:45 EDT 2010
Log message for revision 112274:
Whitespace.
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 2010-05-13 12:18:02 UTC (rev 112273)
+++ five.pt/trunk/src/five/pt/pagetemplate.py 2010-05-13 12:20:44 UTC (rev 112274)
@@ -25,7 +25,7 @@
utility_builtins = {}
encoding = 'utf-8'
-
+
def render_macro(self, macro, parameters=None, **kw):
context = self._pt_get_context(None, None)
@@ -80,7 +80,7 @@
view = view.context
request = view.request
context = aq_inner(view.context)
-
+
namespace = dict(
context=context,
request=request,
@@ -98,12 +98,12 @@
options=kwargs)
return namespace
-
+
class ViewPageTemplateFile(ViewPageTemplate, pagetemplate.ViewPageTemplateFile):
"""If ``filename`` is a relative path, the module path of the
class where the instance is used to get an absolute path."""
def getId(self):
return os.path.basename(self.filename)
-
+
id = property(getId)
More information about the checkins
mailing list