From 35f805404274b0978f3113046f56b1f6fc6e34cf Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 22 Jul 2013 12:04:08 +0200 Subject: [PATCH] Don't send non-functional mirrors to the pakfire clients. --- webapp/backend/mirrors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/backend/mirrors.py b/webapp/backend/mirrors.py index 10159458..260cff0d 100644 --- a/webapp/backend/mirrors.py +++ b/webapp/backend/mirrors.py @@ -421,7 +421,7 @@ class Mirror(object): self.set_state("UP") def check_timestamp(self): - if self.releases == "N": + if not self.type == "full": return http = tornado.httpclient.AsyncHTTPClient() @@ -454,7 +454,7 @@ class Mirror(object): def check_filelist(self): # XXX need to remove data from disabled mirrors - if self.releases == "N" or self.disabled == "Y" or self.type != "full": + if self.disabled == "Y" or self.type != "full": return http = tornado.httpclient.AsyncHTTPClient() -- 2.47.3