summaryrefslogtreecommitdiff
path: root/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'api.py')
-rwxr-xr-xapi.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/api.py b/api.py
index 2444c75..90afbdf 100755
--- a/api.py
+++ b/api.py
@@ -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)