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

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

src/e/r/erp5-HEAD/product/ERP5SyncML/Tool/SynchronizationTool.py   erp5(Download)
from Products.ERP5SyncML.SyncMLConstant import ACTIVITY_PRIORITY, \
    SynchronizationError
from Products.ERP5SyncML.SyncMLMessage import SyncMLRequest
from Products.ERP5SyncML.Engine.SynchronousEngine import SyncMLSynchronousEngine
from Products.ERP5SyncML.Engine.AsynchronousEngine import SyncMLAsynchronousEngine
      # to fetch the Subcribers
      catalog_tool = self.getPortalObject().portal_catalog.unrestrictedSearchResults
      syncml_request = SyncMLRequest(text)
 
      # It is assumed that client & server does not share the same database ID
                                     sync_id=publication.getSourceReference())
    if msg is not None:
      syncml_request = SyncMLRequest(msg)
      #syncml_logger.info("\tXML received from client %s" %(str(syncml_request)))
 
      syncml_response = engine.initializeClientSynchronization(subscription)
    else:
      syncml_request = SyncMLRequest(msg)
 
      if not subscription.checkCorrectRemoteMessageId(