mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-13 01:06:15 +01:00
Merge branch 'patch-1' of https://github.com/ssedlmaier/osc
This commit is contained in:
commit
d60a8601d9
@ -5536,7 +5536,12 @@ def get_package_results(apiurl, project, package, wait=False, *args, **kwargs):
|
||||
elif result.get('code') in waiting_states:
|
||||
waiting = True
|
||||
break
|
||||
|
||||
else:
|
||||
pkg = result.find('status')
|
||||
if pkg.get('code') in waiting_states:
|
||||
waiting = True
|
||||
break
|
||||
|
||||
if not wait or not waiting:
|
||||
break
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user