Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/f/t/ftw.publisher.example-1.0/ftw/publisher/example/eventhandlers.py   ftw.publisher.example(Download)
from ftw.publisher.example import config
from ftw.publisher.example.utils import get_workflow_name
from ftw.publisher.example.utils import is_temporary, is_action_possible
from plone.app.linkintegrity.interfaces import ILinkIntegrityInfo
 
        return
 
    workflow = get_workflow_name(obj)
    if not workflow or workflow not in config.PUBLISHING_WORKFLOWS:
        # we don't have a workflow or the workflow does not publish ever - so we