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

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

src/b/n/bnw-HEAD/bnw/core/post.py   bnw(Download)
            sub['from'] = sfrom
        if target_type == 'sub_user':
            tuser = yield objs.User.find_one({'name': target})
            if not tuser:
                defer.returnValue((False, 'No such user.'))
 
    for target_name, subscription in recipients.iteritems():
        target = yield objs.User.find_one({'name': target_name})
        qn += 1
        if target:
 
    if user['name'] != message['user']:
        tuser = yield objs.User.find_one({'name': message['user']})
        if not tuser.get('off'):
            yield tuser.send_plain(