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

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

src/p/r/Products.QueueCatalog-1.6.0/Products/QueueCatalog/QueueCatalog.py   Products.QueueCatalog(Download)
from CatalogEventQueue import CatalogEventQueue, EVENT_TYPES, ADDED_EVENTS
from CatalogEventQueue import ADDED, CHANGED, CHANGED_ADDED, REMOVED
from CatalogEventQueue import SAFE_POLICY, ALTERNATIVE_POLICY
 
logger = logging.getLogger('event.QueueCatalog')
            return
 
        if ( policy in (SAFE_POLICY, ALTERNATIVE_POLICY) and
             policy != self.getConflictPolicy() ):
            self._conflict_policy = policy