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

Set the partition table id after clearing it, as that process involves resetting the table id.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1101 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent e5b973ef
......@@ -167,8 +167,8 @@ class PartitionTable(object):
content and can be done in multiple calls
"""
if ptid != self.id:
self.id = ptid
self.clear()
self.id = ptid
for offset, row in row_list:
assert offset < self.getPartitions() and not self.hasOffset(offset)
for uuid, state in row:
......
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