mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-05-19 14:18:24 -04:00
Only ignore opening a second MR
This commit is contained in:
committed by
Hans-Christoph Steiner
parent
3720afbe5b
commit
b73663967b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user