

def format_node(self, entry):
    system = entry['item'].system
    if ((not self.show_tree) and system.name):
        for output in self.format_system(dict(type='system', item=system)):
            (yield output)
        (yield ('/', None))
    node_name = entry['item'].name.rsplit('/', 1)[(- 1)]
    (yield (node_name, 'node'))
    parent_name = entry['item'].get('parent')
    if (parent_name and self.show_inherits):
        (yield ('(', None))
        (yield (parent_name, 'nodeparent'))
        (yield (')', None))

dataset/ETHPy150Open ohmu/poni/poni/listout.py ListOutput.format_node/original