From 53a7a3edcbee26f53db37c2916dfdb1696af5fee Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Thu, 28 Jan 2010 20:43:09 +0100 Subject: [PATCH] [entropy.server] comment out early download queue files exclusion (causes tidy tool to fail under corner case circumstances) --- libraries/entropy/server/interfaces/mirrors.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/entropy/server/interfaces/mirrors.py b/libraries/entropy/server/interfaces/mirrors.py index c215e2d61..d20d9a1eb 100644 --- a/libraries/entropy/server/interfaces/mirrors.py +++ b/libraries/entropy/server/interfaces/mirrors.py @@ -2557,12 +2557,17 @@ class Server(ServerNoticeBoardMixin): db_files = set([x for x in db_files if \ (self.Entropy._get_branch_from_download_relative_uri(x) == branch)]) + """ + ### actually do not exclude files not available locally. This makes + ### possible to repair broken tidy runs, downloading a pkg again + ### makes it get flagged as expired afterwards exclude = set() for myfile in download_queue: if myfile.endswith(etpConst['packagesext']): if myfile not in db_files: exclude.add(myfile) download_queue -= exclude + """ exclude = set() for myfile in upload_queue: