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

All Samples(3)  |  Call(1)  |  Derive(1)  |  Import(1)

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 TransactionRegistry(DirectoryRegistry):
    """
    turns directories with a .txn prefix into ledger transaction objects
    """
    def __init__(self, dirreg):

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/exportimport/tests/test_skins.py   Products.CMFCore(Download)
    def setUp(self):
        from Products.CMFCore import DirectoryView
 
        self._olddirreg = DirectoryView._dirreg
        DirectoryView._dirreg = DirectoryView.DirectoryRegistry()