Commit 3973e15a authored by Grégory Wisniewski's avatar Grégory Wisniewski

Typo, call append() instead of add() on the list.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1542 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent dab39147
......@@ -105,7 +105,7 @@ class PartitionTable(object):
for offset in xrange(self.np):
for cell in self.getCellList(offset, readable=True):
if cell.getUUID() == uuid:
assigned_partitions.add(offset)
assigned_partitions.append(offset)
break
return assigned_partitions
......
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