ensure that the summary and description keys get created in the values map
This commit is contained in:
parent
70bf2ef8cd
commit
34a94b354b
1 changed files with 2 additions and 1 deletions
|
|
@ -1183,7 +1183,8 @@ def rpminfo(req, rpmID, fileOrder='name', fileStart=None):
|
|||
values['conflicts'] = server.getRPMDeps(rpm['id'], koji.DEP_CONFLICT)
|
||||
values['conflicts'].sort(_sortbyname)
|
||||
headers = server.getRPMHeaders(rpm['id'], 'summary', 'description')
|
||||
values.update(headers)
|
||||
values['summary'] = headers.get('summary')
|
||||
values['description'] = headers.get('description')
|
||||
buildroots = server.listBuildroots(rpmID=rpm['id'])
|
||||
buildroots.sort(kojiweb.util.sortByKeyFunc('-create_event_time'))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue