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

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

src/p/r/Products.PloneSoftwareCenter-1.6.4/Products/PloneSoftwareCenter/Extensions/Migrations.py   Products.PloneSoftwareCenter(Download)
    # Migrate release state
    walker = CustomQueryWalker(portal, ReleaseStateMigrator, query = {})
    transaction.savepoint(optimistic=True)
    print >> out, "Migrating from field-based maturity to workflow-based maturity"
    walker.go()
 
    # Migrate release count variable
    walker = CustomQueryWalker(portal, ReleaseCountMigrator, query = {})
    transaction.savepoint(optimistic=True)

src/p/r/Products.PloneSoftwareCenter-HEAD/Products/PloneSoftwareCenter/Extensions/Migrations.py   Products.PloneSoftwareCenter(Download)
    # Migrate release state
    walker = CustomQueryWalker(portal, ReleaseStateMigrator, query = {})
    transaction.savepoint(optimistic=True)
    print >> out, "Migrating from field-based maturity to workflow-based maturity"
    walker.go()
 
    # Migrate release count variable
    walker = CustomQueryWalker(portal, ReleaseCountMigrator, query = {})
    transaction.savepoint(optimistic=True)

src/p/r/Products.PloneSoftwareCenter-1.6.4/Products/PloneSoftwareCenter/content/releasefolder.py   Products.PloneSoftwareCenter(Download)
            # Can't rename without a subtransaction commit when using
            # portal_factory!
            transaction.savepoint(optimistic=True)
            self.setId(config.RELEASES_ID)
 

src/p/r/Products.PloneSoftwareCenter-1.6.4/Products/PloneSoftwareCenter/content/proposalfolder.py   Products.PloneSoftwareCenter(Download)
            # Can't rename without a subtransaction commit when using
            # portal_factory!
            transaction.savepoint(optimistic=True)
            self.setId(IMPROVEMENTS_ID)
 

src/p/r/Products.PloneSoftwareCenter-1.6.4/Products/PloneSoftwareCenter/content/proposal.py   Products.PloneSoftwareCenter(Download)
        # Can't rename without a subtransaction commit when using
        # portal_factory!
        transaction.savepoint(optimistic=True)
        self.setId(newId)
 

src/p/r/Products.PloneSoftwareCenter-1.6.4/Products/PloneSoftwareCenter/content/docfolder.py   Products.PloneSoftwareCenter(Download)
            # Can't rename without a subtransaction commit when using
            # portal_factory!
            transaction.savepoint(optimistic=True)
            self.setId(DOCUMENTATION_ID)
 

src/p/r/Products.CMFBibliographyAT-1.1.4.1/Products/CMFBibliographyAT/tool/bibliography.py   Products.CMFBibliographyAT(Download)
    def transaction_savepoint(self, **kw):
        """ needed as a wrapper for bibliography_entry_cookId script
        """
        transaction.savepoint(**kw)