Merge "Fix redundant add operation of set in ring"

This commit is contained in:
Jenkins 2014-04-24 18:21:57 +00:00 committed by Gerrit Code Review
commit 8110172f54

View File

@ -239,7 +239,7 @@ class Ring(object):
dev_id = r2p2d[part]
if dev_id not in seen_ids:
part_nodes.append(self.devs[dev_id])
seen_ids.add(dev_id)
seen_ids.add(dev_id)
return part_nodes
def get_part(self, account, container=None, obj=None):