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

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

src/p/r/Products.CMFBibliographyAT-1.1.4.1/Products/CMFBibliographyAT/content/folder.py   Products.CMFBibliographyAT(Download)
                rtype = entry.get('reference_type', 'ArticleReference')
                del entry['reference_type']
                if rtype not in [_.getId() for _ in self.getAllowedTypes()]:
                    return "Error: Content-Type %s is not " % rtype + \
                           "allowed to create in Folder %s." % self.Type()