The Reason: for a remove can span multiple lines. This means they need
to be prefixed with whitespace to not break the rfc822 format.
Signed-off-by: Gerfried Fuchs <rhonda@debian.at>
logfile822.write("Binaries:\n")
for binary in binaries:
logfile822.write(" %s\n" % binary)
- logfile822.write("Reason: %s\n" % Options["Reason"])
+ logfile822.write("Reason: %s\n" % Options["Reason"].replace('\n', '\n '))
if Options["Done"]:
logfile822.write("Bug: %s\n" % Options["Done"])
logfile822.write("\n")