You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2022/01/28 15:49:16 UTC
[incubator-ponymail-foal] 01/02: Does not make sense to default these
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit 6efabb87abf7bbc0572179ecedd18e09fd56b8be
Author: Sebb <se...@apache.org>
AuthorDate: Fri Jan 28 15:48:54 2022 +0000
Does not make sense to default these
Drop debug print
---
server/endpoints/mgmt.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/server/endpoints/mgmt.py b/server/endpoints/mgmt.py
index 51d4a0d..7a4b143 100644
--- a/server/endpoints/mgmt.py
+++ b/server/endpoints/mgmt.py
@@ -132,11 +132,10 @@ async def process(
# Editing an email in place
elif action == "edit":
new_from = indata.get("from")
- print(new_from)
new_subject = indata.get("subject")
- new_list = indata.get("list", "")
+ new_list = indata.get("list")
private = indata.get("private", "yes") == "yes" # Assume private unless notified otherwise
- new_body = indata.get("body", "")
+ new_body = indata.get("body")
attach_edit = indata.get("attachments", None)
# Check for consistency so we don't pollute the database