Commit 09e74cf2 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Comments reformatted

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21180 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9f9040aa
...@@ -120,8 +120,8 @@ class WebSection(Domain, PermanentURLMixIn): ...@@ -120,8 +120,8 @@ class WebSection(Domain, PermanentURLMixIn):
security.declareProtected(Permissions.AccessContentsInformation, 'getLayoutProperty') security.declareProtected(Permissions.AccessContentsInformation, 'getLayoutProperty')
def getLayoutProperty(self, key, d=MARKER): def getLayoutProperty(self, key, d=MARKER):
""" """
A simple method to get a property of the current by A simple method to get a property of the current by
acquiring it from the current section or its parents acquiring it from the current section or its parents.
""" """
section = aq_inner(self) section = aq_inner(self)
while section.getPortalType() in ('Web Section', 'Web Site'): while section.getPortalType() in ('Web Section', 'Web Site'):
......
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