mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 02:16:12 +01:00
aliases (pac, pkg, package) in result dict
This commit is contained in:
parent
b17405d9d0
commit
7f845f2c70
@ -3492,9 +3492,9 @@ def get_package_results(apiurl, prj, package, lastbuild=None, repository=[], arc
|
||||
|
||||
for node in root.findall('result'):
|
||||
rmap = {}
|
||||
rmap['prj'] = prj
|
||||
rmap['pac'] = package
|
||||
rmap['rep'] = node.get('repository')
|
||||
rmap['project'] = rmap['prj'] = prj
|
||||
rmap['pkg'] = rmap['package'] = rmap['pac'] = package
|
||||
rmap['repository'] = rmap['repo'] = rmap['rep'] = node.get('repository')
|
||||
rmap['arch'] = node.get('arch')
|
||||
rmap['state'] = node.get('state')
|
||||
rmap['dirty'] = node.get('dirty')
|
||||
|
Loading…
Reference in New Issue
Block a user