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/b/n/bnw-HEAD/bnw/core/post.py   bnw(Download)
        elif target_type == 'sub_message':
            if not fast:
                msg = yield objs.Message.find_one({'id': target})
                if not msg:
                    defer.returnValue((False, 'No such message.'))
        defer.returnValue(
            (False, 'Comment is too long. %d/4096' % (len(text),)))
    message = yield objs.Message.find_one({'id': message_id})
    if comment_id:
        old_comment = yield objs.Comment.find_one({'id': comment_id, 'message': message_id})