setup_data_locker.py
def delete_action_adapters(form, id=None):
    """
    Removes all the action adapters for the form (self) or just the one
    specified by `id`
    """
    for obj in form.objectValues():
        if IPloneFormGenActionAdapter.providedBy(obj):
            if id == None or id == obj.id:
                api.content.delete(obj=obj)
                print "Deleting existing adapter at: %s" % obj.absolute_url()

    Removes all the action adapters for the form (self) or just the one
    specified by `id`
    
Removes all the action adapters for the form (self) or just the one
specified by `id`
Removes all the action adapters for the form ( self ) or just the one specified by ` id `
def delete_action_adapters(form, id=None):
    for obj in form.objectValues():
        if IPloneFormGenActionAdapter.providedBy(obj):
            if id == None or id == obj.id:
                api.content.delete(obj=obj)
                print "Deleting existing adapter at: %s" % obj.absolute_url()
def delete_action_adapters ( form , id = None ) : for obj in form . objectValues ( ) : if IPloneFormGenActionAdapter . providedBy ( obj ) : if id == None or id == obj . id : api . content . delete ( obj = obj ) print "Deleting existing adapter at: %s" % obj . absolute_url ( )
Removes all the action adapters for the form (self) or just the one
specified by `id`
Removes all the action adapters for the form ( self ) or just the one specified by ` id `
"""
    Removes all the action adapters for the form (self) or just the one
    specified by `id`
    """
form
id