Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(5) | Call(5) | Derive(0) | Import(0)
src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/FSImage.py Products.CMFCore(Download)
def _createZODBClone(self): return Image(self.getId(), '', self._readFile(1)) def _readFile(self, reparse): """Read the data from the filesystem.
src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/FSFile.py Products.CMFCore(Download)
def _createZODBClone(self): return File(self.getId(), '', self._readFile(1)) def _get_content_type(self, file, body, id, content_type=None): # Consult self.content_type first, this is either
src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/FSSTXMethod.py Products.CMFCore(Download)
if _STX_TEMPLATE == 'DTML': target = DTMLDocument(_CUSTOMIZED_TEMPLATE_DTML, __name__=self.getId()) elif _STX_TEMPLATE == 'ZPT': target = ZopePageTemplate(self.getId(), _CUSTOMIZED_TEMPLATE_ZPT)
src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/FSReSTMethod.py Products.CMFCore(Download)
def _createZODBClone(self): """ Create a ZODB (editable) equivalent of this object. """ target = ZopePageTemplate(self.getId(), _CUSTOMIZED_TEMPLATE_ZPT)