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/handlers/command_interface.py   bnw(Download)
        if iface in parsers:
            request.user['interface'] = iface
            _ = yield objs.User.save(request.user)
            defer.returnValue(
                dict(ok=True, desc='Interface changed.')

src/b/n/bnw-HEAD/bnw/handlers/command_register.py   bnw(Download)
                              })
            if not (yield objs.User.find_one({'name': name})):
                _ = yield user.save()
                defer.returnValue(
                    dict(ok=True, desc='We registered you as %s.' % (name,))