mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Add blank line at bottom of .reg files we generate
The specification at http://support.microsoft.com/kb/310516 says .reg files should have a blank line at the end.
This commit is contained in:
parent
687efc3a5d
commit
142a458fee
@ -257,3 +257,14 @@ for line in fileinput.input(args):
|
||||
warn("trouble parsing key (%s), skipping" % k.msg)
|
||||
except BlankInputLine:
|
||||
pass
|
||||
|
||||
# The spec at http://support.microsoft.com/kb/310516 says we need
|
||||
# a blank line at the end of the reg file:
|
||||
#
|
||||
# Note the registry file should contain a blank line at the
|
||||
# bottom of the file.
|
||||
#
|
||||
if output_type == 'windows':
|
||||
# Output REG file header.
|
||||
sys.stdout.write("\n")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user