Commit ddc4cce4 authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Luis Henriques

UBUNTU: hv_set_ifconfig -- ensure we include the last stanza

BugLink: http://bugs.launchpad.net/bugs/1640109Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
Acked-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarBrad Figg <brad.figg@canonical.com>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent 4c82b129
......@@ -239,6 +239,9 @@ for line in flines:
newfile += [line.strip()]
prev_line=line
# Include pending stanza if any.
if inastanza and not pitchstanza:
newfile.extend(stanza)
def emit(line):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment