Commit bda72309 authored by Aurel's avatar Aurel

remove useless condition


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17367 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a4f94a83
......@@ -741,9 +741,7 @@ class ZCatalog(Folder, Persistent, Implicit):
url_list.append(url)
goto_current_catalog = 0
if (not disable_archive) and (archiving or (len(archive_obj_list) > 0 and \
(sql_catalog_id == default_catalog.id or \
sql_catalog_id is None))):
if (not disable_archive) and (archiving or (len(archive_obj_list) > 0 and sql_catalog_id is None)):
# check in which archive object must go if we defined archive
catalog_id = None
for archive in archive_obj_list:
......
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