1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-13 09:16:14 +01:00
This commit is contained in:
Marcus Huewe 2016-09-09 16:23:23 +02:00
commit d60a8601d9

View File

@ -5536,6 +5536,11 @@ def get_package_results(apiurl, project, package, wait=False, *args, **kwargs):
elif result.get('code') in waiting_states: elif result.get('code') in waiting_states:
waiting = True waiting = True
break break
else:
pkg = result.find('status')
if pkg.get('code') in waiting_states:
waiting = True
break
if not wait or not waiting: if not wait or not waiting:
break break