From 139603a7ac68e5d9f1b97c3e53c5793b53fa9f9d Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 25 Oct 2017 18:03:45 +0100 Subject: [PATCH] mirrors: Always use the buildservice as last resort Fixes #11516 Signed-off-by: Michael Tremer --- src/web/handlers.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/web/handlers.py b/src/web/handlers.py index 0511721f..99b35e6f 100644 --- a/src/web/handlers.py +++ b/src/web/handlers.py @@ -225,6 +225,11 @@ class RepositoryMirrorlistHandler(BaseHandler): "location" : mirror.country_code, }) + # Always use the buildservice itself as last resort + mirrors.append({ + "url" : repo.url, + }) + ret["mirrors"] = mirrors self.finish(ret) -- 2.47.2