Show More
@@ -57,7 +57,7 b' rm -r b' | |||
|
57 | 57 | cat > mkmsg.py <<EOF |
|
58 | 58 | import email.Message, sys |
|
59 | 59 | msg = email.Message.Message() |
|
60 | msg.set_payload('email commit message\n' + open('tip.patch').read()) | |
|
60 | msg.set_payload('email commit message\n' + open('tip.patch', 'rb').read()) | |
|
61 | 61 | msg['Subject'] = 'email patch' |
|
62 | 62 | msg['From'] = 'email patcher' |
|
63 | 63 | sys.stdout.write(msg.as_string()) |
General Comments 0
You need to be logged in to leave comments.
Login now