diff options
-rwxr-xr-x | api.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -262,7 +262,9 @@ class VCSWorker(API): snippet = urllib.parse.quote('%s/%s' % (gitlab_project, name), safe='') url = 'https://%s/api/v4/projects/%s' % (gitlab_domain, snippet) argv = ['curl', '-HPRIVATE-TOKEN: %s' % token, '-X', 'DELETE', url] - return runcmd('.', argv, self.MAX_REMOVE_TIME) + result = runcmd('.', argv, self.MAX_REMOVE_TIME) + time.sleep(5) + return result def _create_repo(self, token, gitlab_domain, name): logging.info('Creating repository %s', name) |