Only ignore opening a second MR

This commit is contained in:
Jochen Sprickerhof 2021-12-30 19:42:18 +01:00 committed by Hans-Christoph Steiner
parent 3720afbe5b
commit b73663967b
1 changed files with 4 additions and 1 deletions

View File

@ -139,4 +139,7 @@ if git_repo.is_dirty() and ('gradlew-fdroid' in modified or 'makebuildserver' in
})
mr.save()
except gitlab.exceptions.GitlabCreateError as e:
print(e.error_message)
if e.response_code == 409: # Another open merge request already exists for this source branch
print(e.error_message)
else:
raise e