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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/LedgerControllerTool.py   Products.BastionLedger(Download)
from BLLedger import BLLedger
from BLAccount import manage_addBLAccount
from BLAssociations import manage_addBLAssociationsFolder, manage_addBLAssociation
from BLProcess import BLProcess
from BLTaxTables import BLTaxTable
 
        if not getattr(aq_base(self), 'associations', None):
            manage_addBLAssociationsFolder(self)
        associations = self.associations
 

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/setuphandlers.py   Products.BastionLedger(Download)
 
from BLLedger import BLLedger
from BLAssociations import manage_addBLAssociationsFolder
 
CURRENCY='GBP'
 
        bltool._setObject('Ledger', BLLedger('Ledger', 'General Ledger', [ CURRENCY ]))
        manage_addBLAssociationsFolder(bltool)
        print '%s: generating %s %s/charts/General\n' % (bltool, CURRENCY, os.path.dirname(__file__))
        generateLedger(bltool.Ledger, bltool.associations,