From: Oleg Broytman Date: Thu, 23 Jan 2014 21:13:46 +0000 (+0400) Subject: Use \n instead of os.linesep X-Git-Tag: v2.3.2~28 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=724abcf10ef905bd290e90fff2a69baa3d70a0e6;p=mimedecode.git Use \n instead of os.linesep --- diff --git a/mimedecode.py b/mimedecode.py index 5d84a27..37fa212 100755 --- a/mimedecode.py +++ b/mimedecode.py @@ -41,7 +41,7 @@ def output(s, outfile=sys.stdout): def output_headers(msg, outfile=sys.stdout): unix_from = msg.get_unixfrom() if unix_from: - output(unix_from + os.linesep) + output(unix_from + '\n') for key, value in msg.items(): output("%s: %s\n" % (key, value), outfile) output("\n", outfile) # End of headers