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

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

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/DirectoryView.py   Products.CMFCore(Download)
                    ob = t( entry
                          , entry_reg_key
                          , properties=metadata.getProperties()
                          )
                    ob_id = ob.getId()
                    try:
                        ob = t(name, entry_filepath, fullname=entry,
                               properties=metadata.getProperties())
                    except:
                        import sys

src/p/r/Products.CMFFormController-3.0.3/Products/CMFFormController/FSControllerBase.py   Products.CMFFormController(Download)
            metadata = FSMetadata(e_fp)
            metadata.read()
            self._setProperties(metadata.getProperties())
 
            # re-read actions and validators whenever we re-read the file

src/c/o/collective.portlet.ngcollection-1.4/collective/portlet/ngcollection/manager.py   collective.portlet.ngcollection(Download)
                metadata = FSMetadata(path)
                metadata.read()
                properties = metadata.getProperties()
                title = properties.get('title', filename[:-3])
                self._templates[tmplkey] = (title.decode('utf-8'),

src/p/r/Products.FileSystemSite-2.4/Products/FileSystemSite/tests/test_FSPythonScript.py   Products.FileSystemSite(Download)
    def _makeOne( self, id, filename ):
        path = join(self.skin_path_name, filename)
        metadata = FSMetadata(path)
        metadata.read()
        return FSPythonScript( id, path, properties=metadata.getProperties() ) 

src/p/r/Products.FileSystemSite-2.4/Products/FileSystemSite/tests/test_FSPageTemplate.py   Products.FileSystemSite(Download)
    def _makeOne( self, id, filename ):
        path = path_join(self.skin_path_name, filename)
        metadata = FSMetadata(path)
        metadata.read()
        return FSPageTemplate( id, path, properties=metadata.getProperties() )

src/p/r/Products.FileSystemSite-2.4/Products/FileSystemSite/tests/test_FSFile.py   Products.FileSystemSite(Download)
        metadata = FSMetadata(full_path)
        metadata.read()
        fsfile_ob = FSFile(id, full_path, properties=metadata.getProperties())
 
        return fsfile_ob

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_FSZSQLMethod.py   Products.CMFCore(Download)
    def _makeOne( self, id, filename ):
        path = join(self.skin_path_name, filename)
        metadata = FSMetadata(path)
        metadata.read()
        return FSZSQLMethod( id, path, properties=metadata.getProperties() )

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_FSSTXMethod.py   Products.CMFCore(Download)
        metadata = FSMetadata(path)
        metadata.read()
        return FSSTXMethod( id, path, properties=metadata.getProperties() )
 
_EXPECTED_HTML = """\

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_FSReSTMethod.py   Products.CMFCore(Download)
        metadata = FSMetadata(path)
        metadata.read()
        return FSReSTMethod( id, path, properties=metadata.getProperties() )
 
_EXPECTED_HTML = """\

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_FSPythonScript.py   Products.CMFCore(Download)
    def _makeOne( self, id, filename ):
        path = join(self.skin_path_name, filename)
        metadata = FSMetadata(path)
        metadata.read()
        return FSPythonScript( id, path, properties=metadata.getProperties() ) 

  1 | 2  Next