Commit 8914b333 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: allocation_scope/open/public and friend do not exist anymore

parent ed93a8b4
portal = context.getPortalObject() portal = context.getPortalObject()
category_list = [portal.restrictedTraverse("portal_categories/allocation_scope/open/public", None), category_list = [portal.restrictedTraverse("portal_categories/allocation_scope/open", None)]
portal.restrictedTraverse("portal_categories/allocation_scope/open/subscription", None)]
category_uid_list = [ i.getUid() for i in category_list if i is not None] category_uid_list = [ i.getUid() for i in category_list if i is not None]
......
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