Commit a8f69332 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add a missing argument of getWebSectionValueList().


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28783 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5d160a66
...@@ -197,7 +197,7 @@ class WebSite(WebSection): ...@@ -197,7 +197,7 @@ class WebSite(WebSection):
all documents in each of them to build a reverse all documents in each of them to build a reverse
mapping of getPermanentURL mapping of getPermanentURL
""" """
return map(lambda x:x.getPermanentURL(document), self.getWebSectionValueList()) return map(lambda x:x.getPermanentURL(document), self.getWebSectionValueList(document))
security.declareProtected(Permissions.AccessContentsInformation, 'getWebSectionValueList') security.declareProtected(Permissions.AccessContentsInformation, 'getWebSectionValueList')
def getWebSectionValueList(self, document): def getWebSectionValueList(self, document):
......
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