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