From nobody Thu Apr 25 01:57:03 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=patchew-devel-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1525271513519855.1030666499108; Wed, 2 May 2018 07:31:53 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E171EC0528D8; Wed, 2 May 2018 14:31:52 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D469730012A2; Wed, 2 May 2018 14:31:52 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id C106B180610F; Wed, 2 May 2018 14:31:52 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w42EQPK4030555 for ; Wed, 2 May 2018 10:26:25 -0400 Received: by smtp.corp.redhat.com (Postfix) id 2CFDE1117641; Wed, 2 May 2018 14:26:25 +0000 (UTC) Received: from donizetti.redhat.com (ovpn-116-186.ams2.redhat.com [10.36.116.186]) by smtp.corp.redhat.com (Postfix) with ESMTP id B48DE112D160 for ; Wed, 2 May 2018 14:26:22 +0000 (UTC) From: Paolo Bonzini To: patchew-devel@redhat.com Date: Wed, 2 May 2018 16:26:22 +0200 Message-Id: <20180502142622.32152-1-pbonzini@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-loop: patchew-devel@redhat.com Subject: [Patchew-devel] [PATCH] fix JSONField fallout X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: patchew-devel-bounces@redhat.com Errors-To: patchew-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Wed, 02 May 2018 14:31:52 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" get_sender() and get_recipients() were removed even with one use of each le= ft because I had not committed those two lines. Signed-off-by: Paolo Bonzini --- mods/email.py | 2 +- www/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/email.py b/mods/email.py index 72e8f2b..91c7d28 100644 --- a/mods/email.py +++ b/mods/email.py @@ -239,7 +239,7 @@ Email information is configured in "INI" style: continue if nt["reply_to_all"] and mo: to +=3D [mo.get_sender_addr()] - cc +=3D [x[1] for x in mo.get_recipients()] + cc +=3D [x[1] for x in mo.recipients] if mo and nt["in_reply_to"]: headers["In-Reply-To"] =3D "<%s>" % mo.message_id if mo and nt["set_reply_to"]: diff --git a/www/views.py b/www/views.py index 8965ebf..6ecfe59 100644 --- a/www/views.py +++ b/www/views.py @@ -33,7 +33,7 @@ def render_page(request, template_name, **data): return render(request, template_name, context=3Ddata) =20 def prepare_message(request, m, detailed): - name, addr =3D m.get_sender() + name, addr =3D m.sender m.sender_full_name =3D "%s <%s>" % (name, addr) m.sender_display_name =3D name or addr m.age =3D m.get_age() --=20 2.17.0 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://www.redhat.com/mailman/listinfo/patchew-devel