fix tree_repr
This commit is contained in:
parent
4976611793
commit
c7b65b9d78
|
@ -43,7 +43,7 @@ def produce_treeline(prec_seps, lsep):
|
||||||
item_name = item['name']
|
item_name = item['name']
|
||||||
tomount = sep + item_name
|
tomount = sep + item_name
|
||||||
|
|
||||||
if item['type'] == 'l' and item['target']:
|
if item.get('type') == 'l' and item.get('target', ''):
|
||||||
tomount += ' -> %s' % ((item['target'],))
|
tomount += ' -> %s' % ((item['target'],))
|
||||||
|
|
||||||
# if item.get('type') == 'd':
|
# if item.get('type') == 'd':
|
||||||
|
|
Loading…
Reference in New Issue