Commit 42d6d58a authored by Aurel's avatar Aurel

add setRow method


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@69 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 8f874b83
......@@ -239,6 +239,9 @@ class PartitionTable(object):
return ()
return [(cell.getUUID(), cell.getState()) for cell in row]
def setRow(self, offset, row):
self.partition_list[offset] = row
def tweak(self):
"""Test if nodes are distributed uniformly. Otherwise, correct the partition
table."""
......
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