author | Tero Marttila <terom@paivola.fi> |
Mon, 02 Mar 2015 01:02:48 +0200 | |
changeset 680 | e9e657b74fc9 |
parent 679 | 31adba0f586d |
child 681 | 3da02c7e5781 |
--- a/pvl/dhcp/config.py Mon Mar 02 01:00:48 2015 +0200 +++ b/pvl/dhcp/config.py Mon Mar 02 01:02:48 2015 +0200 @@ -311,7 +311,7 @@ if block.comment: yield build_line((), end="# {comment}".format(comment=block.comment), indent=indent) - yield build_line(block.key, end=' {', indent=indent) + yield build_line(block.key, end=' {', indent=indent, context=block.key[0:1]) for item in block.items: yield build_item(item, indent=indent+1)