Commit 6482eb8a authored by Vincent Pelletier's avatar Vincent Pelletier

(Same as commit 889)


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@890 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 191d17ed
...@@ -75,7 +75,7 @@ class PartitionTable(object): ...@@ -75,7 +75,7 @@ class PartitionTable(object):
def clear(self): def clear(self):
"""Forget an existing partition table.""" """Forget an existing partition table."""
self.num_filled_rows = 0 self.num_filled_rows = 0
self.partition_list = [[] for x in xrange(self.np)] self.partition_list = [[]] * self.np
self.count_dict.clear() self.count_dict.clear()
def hasOffset(self, offset): def hasOffset(self, offset):
......
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