[entropy.server] cleanup _calculate_sync_queues() once again
This commit is contained in:
@@ -2559,13 +2559,6 @@ class Server(ServerNoticeBoardMixin):
|
||||
db_files = set([x for x in db_files if \
|
||||
(self.Entropy._get_branch_from_download_relative_uri(x) == branch)])
|
||||
|
||||
exclude = set()
|
||||
for myfile in upload_queue:
|
||||
if myfile.endswith(etpConst['packagesext']):
|
||||
if myfile not in db_files:
|
||||
exclude.add(myfile)
|
||||
upload_queue -= exclude
|
||||
|
||||
exclude = set()
|
||||
for myfile in download_queue:
|
||||
if myfile in upload_queue:
|
||||
|
||||
Reference in New Issue
Block a user