[SCM] Samba Shared Repository - branch master updated

Andrew Bartlett abartlet at samba.org
Mon Nov 16 22:44:02 UTC 2020

The branch, master has been updated
       via  6ac16232de7 autobuild: Encode text/plain into base64 to wrap long-lines
      from  7bd040f60a0 libsmb: Remove unused sync cli_smb2_rename()


- Log -----------------------------------------------------------------
commit 6ac16232de7c577c081f15759cab65fdef06ba55
Author: SATOH Fumiyasu <fumiyas at osstech.co.jp>
Date:   Tue Nov 10 17:15:42 2020 +0900

    autobuild: Encode text/plain into base64 to wrap long-lines
    MIMEText(text, 'plain', 'utf-8') encodes the text into
    base64 and adds 'Content-Transfer-Encoding: base64' header.
    Signed-off-by: SATOH Fumiyasu <fumiyas at osstech.co.jp>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: David Disseldorp <ddiss at samba.org>
    Autobuild-User(master): Andrew Bartlett <abartlet at samba.org>
    Autobuild-Date(master): Mon Nov 16 22:43:35 UTC 2020 on sn-devel-184


Summary of changes:
 script/autobuild.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Changeset truncated at 500 lines:

diff --git a/script/autobuild.py b/script/autobuild.py
index 24baa0fa9f2..a76309df8a2 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -1112,7 +1112,7 @@ def send_email(subject, text, log_tar):
     outer['From'] = options.email_from
     outer['Date'] = email.utils.formatdate(localtime=True)
     outer.preamble = 'Autobuild mails are now in MIME because we optionally attach the logs.\n'
-    outer.attach(MIMEText(text, 'plain'))
+    outer.attach(MIMEText(text, 'plain', 'utf-8'))
     if options.attach_logs:
         with open(log_tar, 'rb') as fp:
             msg = MIMEApplication(fp.read(), 'gzip', email.encoders.encode_base64)

Samba Shared Repository

More information about the samba-cvs mailing list