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/s/c/sc.social.like-HEAD/sc/social/like/tests/test_viewlets.py   sc.social.like(Download)
    def viewlet(self, context=None):
        context = context or self.portal
        viewlet = SocialLikesViewlet(context, self.request, None, None)
        viewlet.update()
        return viewlet

src/s/c/sc.social.like-2.0b1/sc/social/like/tests/test_viewlets.py   sc.social.like(Download)
    def viewlet(self, context=None):
        context = context or self.portal
        viewlet = SocialLikesViewlet(context, self.request, None, None)
        viewlet.update()
        return viewlet