Commit d984d780 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Remove duplicates from deciding list

parent df2a067c
......@@ -284,8 +284,8 @@ class FileSyncer(object):
db = self.get_db()
if archives is None:
archives = (self.MASTER, self.SLAVE)
return list(db.list_deciding(archives=archives,
sync=self.SYNC))
return set(db.list_deciding(archives=archives,
sync=self.SYNC))
def probe_archive(self, archive):
client = self.clients[archive]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment