From: Michael Tremer Date: Mon, 22 Jul 2013 10:04:08 +0000 (+0200) Subject: Don't send non-functional mirrors to the pakfire clients. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=35f805404274b0978f3113046f56b1f6fc6e34cf;p=ipfire.org.git Don't send non-functional mirrors to the pakfire clients. --- 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()