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/p/r/Products.LinguaPlone-4.1.3/Products/LinguaPlone/I18NBaseObject.py   Products.LinguaPlone(Download)
    def isTranslation(self):
        """Tells whether this object is used in a i18n context."""
        return bool(self.getReferenceImpl(RELATIONSHIP) or \
                    self.getBackReferenceImpl(RELATIONSHIP) \
                    and self.Language() or False)

src/p/r/Products.LinguaPlone-HEAD/Products/LinguaPlone/I18NBaseObject.py   Products.LinguaPlone(Download)
    def isTranslation(self):
        """Tells whether this object is used in a i18n context."""
        return bool(self.getReferenceImpl(RELATIONSHIP) or \
                    self.getBackReferenceImpl(RELATIONSHIP) \
                    and self.Language() or False)