mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-28 10:46:15 +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'):
|
for node in root.findall('result'):
|
||||||
rmap = {}
|
rmap = {}
|
||||||
rmap['prj'] = prj
|
rmap['project'] = rmap['prj'] = prj
|
||||||
rmap['pac'] = package
|
rmap['pkg'] = rmap['package'] = rmap['pac'] = package
|
||||||
rmap['rep'] = node.get('repository')
|
rmap['repository'] = rmap['repo'] = rmap['rep'] = node.get('repository')
|
||||||
rmap['arch'] = node.get('arch')
|
rmap['arch'] = node.get('arch')
|
||||||
rmap['state'] = node.get('state')
|
rmap['state'] = node.get('state')
|
||||||
rmap['dirty'] = node.get('dirty')
|
rmap['dirty'] = node.get('dirty')
|
||||||
|
Loading…
Reference in New Issue
Block a user