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

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

src/c/i/cirb.blog-1.0a3/cirb/blog/setup_view.py   cirb.blog(Download)
    def mark(self):
        if not IBlogContainer.providedBy(self.context):
            interface.directlyProvides(self.context, IBlogContainer)
 
    def initialize_archive_rules(self):

src/c/i/cirb.blog-1.0a3/cirb/blog/is_blog.py   cirb.blog(Download)
    def __call__(self):
        context = self.context
        if context.portal_type not in ('Plone Site', 'Folder'):
            context = self.context.aq_inner.aq_parent
        return IBlogContainer.providedBy(context)