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
The following commit(s) were added to refs/heads/master by this push:
new 9e62c17 Simplify
9e62c17 is described below
commit 9e62c176e0aff65c544ddcf992494117284c2f81
Author: Sebb <[email protected]>
AuthorDate: Tue Aug 18 13:23:15 2020 +0100
Simplify
---
tools/archiver.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/archiver.py b/tools/archiver.py
index 32c2597..27d0cbf 100755
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -168,7 +168,7 @@ class Body:
self.charsets.update(part.get_charsets()) # Parent charsets as
fallback
self.character_set = "utf-8"
self.string = None
- self.flowed = True if "format=flowed" in part.get("content-type", "")
else False
+ self.flowed = "format=flowed" in part.get("content-type", "")
contents = part.get_payload(decode=True)
if contents is not None:
for cs in self.charsets: