##// END OF EJS Templates
py3: decode payload of notify email...
Denis Laxalde -
r43637:33506cb4 stable
parent child Browse files
Show More
@@ -400,7 +400,7 b' class notifier(object):'
400 # create fresh mime message from scratch
400 # create fresh mime message from scratch
401 # (multipart templates must take care of this themselves)
401 # (multipart templates must take care of this themselves)
402 headers = msg.items()
402 headers = msg.items()
403 payload = msg.get_payload()
403 payload = msg.get_payload(decode=pycompat.ispy3)
404 # for notification prefer readability over data precision
404 # for notification prefer readability over data precision
405 msg = mail.mimeencode(self.ui, payload, self.charsets, self.test)
405 msg = mail.mimeencode(self.ui, payload, self.charsets, self.test)
406 # reinstate custom headers
406 # reinstate custom headers
General Comments 0
You need to be logged in to leave comments. Login now