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

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

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

src/p/r/Products.CMFDefault-2.3.0-beta2/Products/CMFDefault/upgrade/to21.py   Products.CMFDefault(Download)
from zope.site.hooks import setSite
 
from Products.CMFCore.DirectoryView import _dirreg
from Products.CMFCore.DirectoryView import _generateKey
from Products.CMFCore.interfaces import IDirectoryView

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/utils.py   Products.BastionLedger(Download)
    import FSBLProcess
    from Products.CMFCore import DirectoryView
    from Products.CMFCore.DirectoryView import _dirreg
 
    _createDirectoryView = DirectoryView.createDirectoryView

src/p/l/plone.app.upgrade-1.3.6/plone/app/upgrade/v40/alphas.py   plone.app.upgrade(Download)
from Acquisition import aq_get
from Products.CMFCore.CachingPolicyManager import manage_addCachingPolicyManager
from Products.CMFCore.DirectoryView import _dirreg
from Products.CMFCore.interfaces import ICachingPolicyManager
from Products.CMFCore.utils import getToolByName

src/p/l/plone.app.upgrade-HEAD/plone/app/upgrade/v40/alphas.py   plone.app.upgrade(Download)
from Acquisition import aq_get
from Products.CMFCore.CachingPolicyManager import manage_addCachingPolicyManager
from Products.CMFCore.DirectoryView import _dirreg
from Products.CMFCore.interfaces import ICachingPolicyManager
from Products.CMFCore.utils import getToolByName

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/tests/testFSBLProcess.py   Products.BastionLedger(Download)
    def testMonkeyPatchedDirectoryRegistry(self):
        tmpl_path = 'BastionLedger/skins/bastionledger/blp_dividend_payment.txn'
        from Products.CMFCore.DirectoryView import _dirreg, DirectoryInformation
        dirinfo = _dirreg._directories
 

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_FSSecurity.py   Products.CMFCore(Download)
    def setUp(self):
        from Products.CMFCore.DirectoryView import _dirreg
 
        WritableFSDVTest.setUp(self)
        self._registerDirectory(self)

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_DirectoryView.py   Products.CMFCore(Download)
    def test_registerDirectoryKeys(self):
        from Products.CMFCore.DirectoryView import _dirreg
        dirs = _dirreg._directories
        self.assertTrue( dirs.has_key('Products.CMFCore.tests:fake_skins/fake_skin'),
                         dirs.keys() )
    def setUp( self ):
        from Products.CMFCore.DirectoryView import _dirreg
 
        WritableFSDVTest.setUp(self)
        self.test1path = join(self.skin_path_name,'test1.py')