Jeremy White : gitlab: Include the content-type header.

Alexandre Julliard julliard at winehq.org
Tue Jul 19 03:17:01 CDT 2022


Module: tools
Branch: master
Commit: 44e8afd5a74ed722bbd0782c647ec1a9e9d60760
URL:    https://gitlab.winehq.org/winehq/tools/-/commit/44e8afd5a74ed722bbd0782c647ec1a9e9d60760

Author: Jeremy White <jwhite at codeweavers.com>
Date:   Mon Jul 18 16:52:56 2022 -0500

gitlab: Include the content-type header.

Hopefully this will prevent winetestbot from being confused.

---

 gitlab/gitlab-to-mail/gitlabtomail.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gitlab/gitlab-to-mail/gitlabtomail.py b/gitlab/gitlab-to-mail/gitlabtomail.py
index 67909567..fca8466c 100755
--- a/gitlab/gitlab-to-mail/gitlabtomail.py
+++ b/gitlab/gitlab-to-mail/gitlabtomail.py
@@ -47,6 +47,7 @@ def send_email(message):
     message['Reply-To'] = settings.BRIDGE_FROM_EMAIL
     message['To'] = settings.BRIDGE_TO_EMAIL
 
+    message['Content-Type'] = 'text/plain; charset=utf-8'
     encoded_message = message.as_string().encode('utf-8')
 
     if settings.DEBUG:




More information about the wine-cvs mailing list