Did I find the right examples for you? yes no

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

src/a/f/afewords_base-HEAD/afewords/www/handlers/settingcataloghandlers.py   afewords_base(Download)
        usr = self.current_user
        book = Catalog.by_id(handler_para['book_id'])
        relation_obj = Relation.by_id(handler_para['relation_id'])
        if book is None:
            handler_json.by_status(2)
        usr = self.current_user
        book = Catalog.by_id(handler_para['book_id'])
        relation_obj = Relation.by_id(handler_para['relation_id'])
        if book is None:
            handler_json.by_status(2)

src/a/f/afewords_base-HEAD/afewords/aflib/article/article.py   afewords_base(Download)
        tmp = tmp_lib[catalog_obj.uid+'#'+node_id]
        if tmp is not None:
            return Relation.by_id(tmp)
        return None