bzr revid: apa@tinyerp.com-20100302053853-laq7143efs4q4tbu
This commit is contained in:
apa-tiny 2010-03-02 11:08:53 +05:30
parent 2aba47bbcf
commit abfe6add89
1 changed files with 247 additions and 247 deletions

View File

@ -396,7 +396,7 @@ class graph(object):
def graph_order(self):
"""Finds actual-order of the nodes with respect to maximum number of nodes in a rank in component
"""
mid_pos = None
mid_pos = 0.0
max_level = max(map(lambda x: len(x), self.levels.values()))
for level in self.levels: