Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/b/o/bodhi-HEAD/tools/metrics.py   bodhi(Download)
from sqlalchemy.sql import and_
 
from bodhi.util import get_db_from_config, header, get_critpath_pkgs
from bodhi.models import Update, Release, UpdateStatus, UpdateType
 
        if not total:
            continue
        print header(release.long_name)
        stats[release.name] = {
            'num_updates': total,

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,
    def __str__(self):
        x = header(self.name)
        states = {'pending': [], 'testing': [], 'stable': []}
        if len(self.builds):
            for build in self.builds: