Merge pull request #203 from openSUSE/coolo_fix_new_stagings
cope with new staging prjs
This commit is contained in:
commit
447db9bea9
@ -92,7 +92,10 @@ class FreezeCommand(object):
|
||||
root = ET.parse(self.api.retried_GET(url)).getroot()
|
||||
for result in root.findall('result'):
|
||||
if result.get('repository') == 'bootstrap_copy':
|
||||
if not result.find('status').get('code') in codes:
|
||||
status = result.find('status')
|
||||
if status == None:
|
||||
return False
|
||||
if not status.get('code') in codes:
|
||||
return False
|
||||
return True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user