Merge pull request #2365 from coolo/force_accept

Always force accept into the API after checking for acceptable ourselves
This commit is contained in:
Stephan Kulow 2019-12-09 11:10:39 +01:00 committed by GitHub
commit 3bc7455e13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,9 +102,9 @@ class AcceptCommand(object):
print('delete links to packages pending deletion...')
self.delete_linked()
opts = {}
if force:
opts['force'] = '1'
# we have checked ourselves and accepting one staging project creates a race
# for the other staging projects to appear building again
opts = { 'force': '1' }
print('triggering staging accepts...')
for project in staging_packages.keys():