Did I find the right examples for you? yes no

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

src/b/o/bodhi-HEAD/bodhi/models/models.py   bodhi(Download)
from bodhi import buildsys, mail
from bodhi.util import (
    header, build_evr, rpm_fileheader, get_nvr, flash_log,
    get_age, get_critpath_pkgs,
        # generate ChangeLogs against those.
        latest = None
        evr = build_evr(koji_session.getBuild(self.nvr))
        for tag in [self.release.stable_tag, self.release.dist_tag]:
            builds = koji_session.getLatestBuilds(
                    tag, package=self.package.name)
            # Find the first build that is older than us
            for build in builds:
                new_evr = build_evr(build)
                for oldBuild in kojiBuilds:
                    if rpm.labelCompare(build_evr(mybuild),
                                        build_evr(oldBuild)) < 0:
                        request.errors.add('body', 'build',