Merge pull request #2358 from coolo/stop_adi_accept
No longer close acceptable adi stagings
This commit is contained in:
commit
660ec7a790
@ -75,7 +75,7 @@ class AcceptCommand(object):
|
||||
status = self.api.project_status(project)
|
||||
if status.get('state') != 'acceptable' and not force:
|
||||
print('The project "{}" is not yet acceptable.'.format(project))
|
||||
#return False
|
||||
return False
|
||||
|
||||
staging_packages[project] = []
|
||||
for request in status.findall('staged_requests/request'):
|
||||
|
@ -59,6 +59,9 @@ class AdiCommand:
|
||||
if overall_state != 'acceptable' and overall_state != 'empty':
|
||||
raise oscerr.WrongArgs('Missed some case')
|
||||
|
||||
# no longer accept/delete adi projects
|
||||
return
|
||||
|
||||
if self.api.is_user_member_of(self.api.user, self.api.cstaging_group):
|
||||
print(query_project + ' ' + Fore.GREEN + 'ready')
|
||||
packages = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user