Commit 8e56ee9b authored by Vincent Pelletier's avatar Vincent Pelletier

Fix variable renaming.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@916 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent b8ba22a3
......@@ -123,7 +123,7 @@ class PartitionTable(object):
readable, writable)
def _getPartitionFromIndex(self, index):
return u64(any_id) % self.np
return u64(index) % self.np
def setCell(self, offset, node, state):
assert state in VALID_CELL_STATE_LIST
......
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