Did I find the right examples for you? yes no

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

src/b/o/bodhi-HEAD/bodhi/services/updates.py   bodhi(Download)
    """
    data = request.validated
    log.debug('validated = %s' % data)
    req = data.get('request')
    del(data['request'])
            log.info('Creating new update: %s' % ' '.join(data['builds']))
            up = Update.new(request, data)
            log.debug('update = %r' % up)
    except Exception as e:
        log.exception(e)

src/b/o/bodhi-HEAD/bodhi/views/generic.py   bodhi(Download)
    db = request.db
    pkg = request.params.get('package')
    log.debug('latest_candidate(%r)' % pkg)
    if pkg:
        koji.multicall = True
                result.append(build[0][0]['nvr'])
 
    log.debug(result)
    return result
 

src/b/o/bodhi-HEAD/bodhi/views/search.py   bodhi(Download)
def get_all_packages():
    """ Get a list of all packages in Koji """
    log.debug('Fetching list of all packages...')
    koji = buildsys.get_session()
    return [pkg['package_name'] for pkg in koji.listPackages()]