server: report errors pushing to git mirrors

This makes `fdroid server update` fail if pushing to one of the git mirrors
fails.  This is what happens if the other methods fail, e.g. rsync or S3.

closes #347
This commit is contained in:
Hans-Christoph Steiner 2017-07-19 13:02:06 +02:00
parent 93caf27319
commit 1f7f9d403c
2 changed files with 10 additions and 9 deletions

View file

@ -567,7 +567,6 @@ def get_mirror_service_urls(url):
return urls
def download_repo_index(url_str, etag=None, verify_fingerprint=True):
"""
Downloads the repository index from the given :param url_str