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

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

src/p/r/Products.CMFBibliographyAT-1.1.4.1/Products/CMFBibliographyAT/content/folder.py   Products.CMFBibliographyAT(Download)
from Products.CMFBibliographyAT.interface import IBibliographyFolder
from Products.CMFBibliographyAT.interface import ILargeBibliographyFolder
from Products.CMFBibliographyAT.events import BibentryImportedEvent
from bibliograph.parsing.parsers.base import EntryParseError
from Products.CMFBibliographyAT.utils import log
 
                    duplicate = self.moveToDuplicatesFolder(obj, matched_obj)
                    notify(BibentryImportedEvent(duplicate, matched_obj))
                    message = self.REQUEST.get('bibtext_import_message',
                                               'DUPLICATE CREATED')
                    return ('Duplicate: %s\n' % obj.Title() or 'no info',
                            message, duplicate)
 
            import_status = 'ok'
            notify(BibentryImportedEvent(obj, False))