Commit b101ee34 authored by Romain Courteaud's avatar Romain Courteaud

slapos_upgrader: delete script do not accept method_kw

parent cc712fcf
...@@ -21,6 +21,11 @@ portal.portal_catalog.searchAndActivate( ...@@ -21,6 +21,11 @@ portal.portal_catalog.searchAndActivate(
# Delete existing old product only # Delete existing old product only
if portal.portal_catalog.getResultValue(portal_type="Software Release") is not None: if portal.portal_catalog.getResultValue(portal_type="Software Release") is not None:
packet_kw = {
'activate_kw': {'tag': tag, 'priority': 1},
'packet_size': 1, # Separate calls to many transactions (calculation can take time)
'activity_count': 1000,
}
not_migrated_select_dict={'default_follow_up_uid': None} not_migrated_select_dict={'default_follow_up_uid': None}
portal.portal_catalog.searchAndActivate( portal.portal_catalog.searchAndActivate(
......
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