Use true boolean for flag argument.
This commit is contained in:
parent
74b7e44d7d
commit
5ce83a004f
|
@ -704,7 +704,7 @@ def walktree(classes, children, parent):
|
|||
results.append(walktree(children[c], children, c))
|
||||
return results
|
||||
|
||||
def getclasstree(classes, unique=0):
|
||||
def getclasstree(classes, unique=False):
|
||||
"""Arrange the given list of classes into a hierarchy of nested lists.
|
||||
|
||||
Where a nested list appears, it contains classes derived from the class
|
||||
|
|
Loading…
Reference in New Issue