%s ' cvelink = '%s ' ## Build our reference links for bug in update.bugs: bugs += bzlink % (bug.bz_id, bug.bz_id) if bug.title: bugs += '- %s
' % (bug.title) for cve in update.cves: cves += cvelink % (cve.cve_id, cve.cve_id) ## Build our file list from os.path import basename filelist = '' for item in update.filelist.items(): filelist += '%s
' % item[0] for pkg in isinstance(item[1], list) and item[1] or [item[1]]: filelist += '|-- %s
' % basename(pkg) ?>
${update.nvr}
[ Request Push or Unpush | Edit | Delete ]
${field[0]}: ${field[1]}