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

All Samples(10)  |  Call(2)  |  Derive(3)  |  Import(5)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/FSBLProcess.py   Products.BastionLedger(Download)
 
from Products.CMFCore.utils import getPackageName
from Products.CMFCore.DirectoryView import _dirreg, registerFileExtension, registerMetaType, \
     DirectoryView, DirectoryViewSurrogate, DirectoryRegistry, DirectoryInformation, \
     _generateKey, _findProductForPath
class FSBLTransactionTemplateView( DirectoryView ):
    meta_type = portal_type = 'FSBLTransactionTemplate'
 
    def __init__(self, id, dirpath, fullname=None):
        DirectoryView.__init__(self, id, dirpath, fullname)
class FSBLProcessView(DirectoryView): pass
 

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/exportimport/tests/test_skins.py   Products.CMFCore(Download)
    def setUp(self):
        from Products.CMFCore.DirectoryView import DirectoryView
 
        _DVRegistrySetup.setUp(self)
        self._obj = DirectoryView('foo_directoryview').__of__(Folder())
    def _populate(self, obj):
        from Products.CMFCore.DirectoryView import DirectoryView
 
        obj._setObject('foo_directoryview',
                       DirectoryView('foo_directoryview',
    def _initSite(self, selections={}, ids=()):
        from Products.CMFCore.DirectoryView import DirectoryView
 
        site = DummySite()
        fsdvs = [ (id, DirectoryView(id, 'CMFCore/exportimport/tests/%s' %

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_DirectoryView.py   Products.CMFCore(Download)
from Products.CMFCore.tests.base.testcase import WritableFSDVTest
 
from Products.CMFCore.DirectoryView import DirectoryView
 
 
class DummyDirectoryView(DirectoryView):