Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 20939200CCC for ; Thu, 6 Jul 2017 12:04:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1D884165F44; Thu, 6 Jul 2017 10:04:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 92A9F165F46 for ; Thu, 6 Jul 2017 12:04:04 +0200 (CEST) Received: (qmail 46564 invoked by uid 500); 6 Jul 2017 10:04:03 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 46546 invoked by uid 99); 6 Jul 2017 10:04:03 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2017 10:04:03 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id B52D13A1970 for ; Thu, 6 Jul 2017 10:04:02 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1801009 - /subversion/trunk/tools/dist/security/mailer.py Date: Thu, 06 Jul 2017 10:04:00 -0000 To: commits@subversion.apache.org From: danielsh@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170706100402.B52D13A1970@svn01-us-west.apache.org> archived-at: Thu, 06 Jul 2017 10:04:05 -0000 Author: danielsh Date: Thu Jul 6 10:04:00 2017 New Revision: 1801009 URL: http://svn.apache.org/viewvc?rev=1801009&view=rev Log: * tools/dist/security/mailer.py (Mailer.send_mail.send): Mention an apparent bug and its fix. Modified: subversion/trunk/tools/dist/security/mailer.py Modified: subversion/trunk/tools/dist/security/mailer.py URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/security/mailer.py?rev=1801009&r1=1801008&r2=1801009&view=diff ============================================================================== --- subversion/trunk/tools/dist/security/mailer.py (original) +++ subversion/trunk/tools/dist/security/mailer.py Thu Jul 6 10:04:00 2017 @@ -232,6 +232,9 @@ class Mailer(object): server.login(username, password) def send(message): + # XXX: The from,to arguments should be bare addresses with no "foo:" + # prefix. It works this way in practice, but that appears to + # be an accident of implementation of smtplib. server.sendmail("From: " + message['From'], "To: " + message['To'], message.as_string())