get_sender() and get_recipients() were removed even with one use of each left
because I had not committed those two lines.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
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 += [mo.get_sender_addr()]
- cc += [x[1] for x in mo.get_recipients()]
+ cc += [x[1] for x in mo.recipients]
if mo and nt["in_reply_to"]:
headers["In-Reply-To"] = "<%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=data)
def prepare_message(request, m, detailed):
- name, addr = m.get_sender()
+ name, addr = m.sender
m.sender_full_name = "%s <%s>" % (name, addr)
m.sender_display_name = name or addr
m.age = m.get_age()
--
2.17.0
_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel