Did I find the right examples for you? yes no

All Samples(4)  |  Call(3)  |  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,
            self.comment(u'This update has been unpushed',
                         author=request.user.name)
            flash_log("%s has been unpushed" % self.title)
            return
        elif action is UpdateRequest.obsolete:
            self.obsolete()
            flash_log("%s has been obsoleted" % self.title)
        notes = notes and '. '.join(notes) or ''
        flash_notes = flash_notes and '. %s' % flash_notes
        flash_log("%s has been submitted for %s. %s%s" % (self.title,
            action.description, notes, flash_notes))
        self.comment('This update has been submitted for %s by %s. %s' % (