[entropy.server] _calculate_sync_queues: generate upload_queue by interating over dict_items

This commit is contained in:
Fabio Erculiani
2013-05-27 22:01:55 +02:00
parent 5feee2abf0
commit b71cea2ed5

View File

@@ -408,7 +408,7 @@ class ServerPackagesRepositoryUpdater(object):
# all mirrors are empty ? I rule
if not [x for x in remote_status if x[1]]:
upload_queue = remote_status[:]
upload_queue = [x for x in remote_status]
else:
highest_remote_revision = max([x[1] for x in remote_status])