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 2020/08/16 10:37:58 UTC
[incubator-ponymail] branch master updated: Unnecessary as the
variable is set below
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.git
The following commit(s) were added to refs/heads/master by this push:
new d7868ac Unnecessary as the variable is set below
d7868ac is described below
commit d7868acf1a448d906705b0385b281f3c1364140e
Author: Sebb <se...@apache.org>
AuthorDate: Sun Aug 16 11:37:44 2020 +0100
Unnecessary as the variable is set below
---
tools/generators.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/generators.py b/tools/generators.py
index 4e06fc6..0fcffe2 100644
--- a/tools/generators.py
+++ b/tools/generators.py
@@ -184,7 +184,6 @@ def cluster(msg, body, lid, attachments):
xbody += bytes(msg.get('Message-Id', ''), encoding='ascii')
# Use Date header. Don't use archived-at, as the archiver sets this if not present.
- mdate = None
mdatestring = "(null)" # Default to null, ONLY changed if replicable across imports
try:
mdate = email.utils.parsedate_tz(msg.get('date'))