

def format_config(self, entry):
    if (not self.show_tree):
        node = False
        for output in self.format_node(entry):
            node = True
            (yield output)
        if node:
            (yield ('/', None))
    (yield (entry['config'].name, 'config'))
    parent_name = entry['config'].get('parent')
    if (parent_name and self.show_inherits):
        (yield ('(', None))
        (yield (parent_name, 'configparent'))
        (yield (')', None))
    if entry['inherited']:
        (yield (' [inherited]', None))

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