mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
fixed "osc results" output in case of a missing status node
In this case, the code from the result element is used.
This commit is contained in:
parent
95b6087c5b
commit
ca9da9df05
@ -5440,7 +5440,7 @@ def result_xml_to_dicts(xml):
|
|||||||
rmap['dirty'] = node.get('dirty')
|
rmap['dirty'] = node.get('dirty')
|
||||||
rmap['repostate'] = node.get('code')
|
rmap['repostate'] = node.get('code')
|
||||||
rmap['pkg'] = rmap['package'] = rmap['pac'] = ''
|
rmap['pkg'] = rmap['package'] = rmap['pac'] = ''
|
||||||
rmap['code'] = ''
|
rmap['code'] = node.get('code')
|
||||||
rmap['details'] = ''
|
rmap['details'] = ''
|
||||||
details = None
|
details = None
|
||||||
statusnode = node.find('status')
|
statusnode = node.find('status')
|
||||||
|
Loading…
Reference in New Issue
Block a user