Mercurial > hg > config
changeset 426:866c5b1bc4e8
stubbing
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 06 Aug 2013 18:30:15 -0700 |
parents | 5417eb6364ee |
children | be90af6dfd47 |
files | python/tree.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/python/tree.py Tue Aug 06 18:26:42 2013 -0700 +++ b/python/tree.py Tue Aug 06 18:30:15 2013 -0700 @@ -46,9 +46,11 @@ def __init__(self, parent=None): self.parent = parent + self._children = [] def children(self): """returns children of the tree""" + return self._children # base implementation def add(self, item): """add a child to the tree root"""