Show More
@@ -440,7 +440,7 b' class notifier(object):' | |||||
440 | msg[r'Message-Id'] = messageid(ctx, self.domain, self.messageidseed) |
|
440 | msg[r'Message-Id'] = messageid(ctx, self.domain, self.messageidseed) | |
441 | msg[r'To'] = encoding.strfromlocal(b', '.join(sorted(subs))) |
|
441 | msg[r'To'] = encoding.strfromlocal(b', '.join(sorted(subs))) | |
442 |
|
442 | |||
443 |
msgtext = |
|
443 | msgtext = msg.as_bytes() if pycompat.ispy3 else msg.as_string() | |
444 | if self.test: |
|
444 | if self.test: | |
445 | self.ui.write(msgtext) |
|
445 | self.ui.write(msgtext) | |
446 | if not msgtext.endswith(b'\n'): |
|
446 | if not msgtext.endswith(b'\n'): |
General Comments 0
You need to be logged in to leave comments.
Login now