Commit c6e3fd2d authored by Hanno Schlichting's avatar Hanno Schlichting

Simplify my braindead code

parent 8e205bef
......@@ -35,9 +35,7 @@ class ViewPageTemplateFile(zope.app.pagetemplate.ViewPageTemplateFile,
def getId(self):
return basename(self.filename)
@property
def id(self):
return self.getId()
property(getId)
def pt_getEngine(self):
return getEngine()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment