Commit 8793367b authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix partition table log method, don't include unused nodes.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1264 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent fc813543
......@@ -219,6 +219,7 @@ class PartitionTable(object):
width under 80 column).
"""
node_list = self.count_dict.keys()
node_list = [k for k, v in self.count_dict.items() if v != 0]
node_list.sort()
node_dict = {}
for i, node in enumerate(node_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