Commit 11fe451d authored by Yoshinori Okuji's avatar Yoshinori Okuji

Forgot to stop acquiring portal_archives again and again.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30405 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7fb89e2b
...@@ -716,8 +716,8 @@ class ZCatalog(Folder, Persistent, Implicit): ...@@ -716,8 +716,8 @@ class ZCatalog(Folder, Persistent, Implicit):
archive_list = [] archive_list = []
portal_archives = getattr(self, 'portal_archives', None) portal_archives = getattr(self, 'portal_archives', None)
if portal_archives is not None: if portal_archives is not None:
if len(self.portal_archives): if len(portal_archives):
archive_list = self.portal_archives.getArchiveList() archive_list = portal_archives.getArchiveList()
catalog_dict = {} catalog_dict = {}
......
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