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/e/r/erp5-HEAD/product/ERP5OOo/Document/OOoDocument.py   erp5(Download)
 
# connection plugins
from Products.ERP5Type.ConnectionPlugin.TimeoutTransport import TimeoutTransport
 
enc=base64.encodestring
    timeout = preference_tool.getPreferredOoodocServerTimeout() \
                    or OOO_SERVER_PROXY_TIMEOUT
    transport = TimeoutTransport(timeout=timeout, scheme='http')
 
    ServerProxy.__init__(self, uri, allow_none=True, transport=transport)