This is an automated email from the ASF dual-hosted git repository.
humbedooh 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 c2e0909 docco, linting
c2e0909 is described below
commit c2e09091596e23baed9330ad5d26aea76ccc1e6c
Author: Daniel Gruno <[email protected]>
AuthorDate: Fri Nov 12 18:17:48 2021 +0100
docco, linting
---
server/plugins/messages.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/server/plugins/messages.py b/server/plugins/messages.py
index 74715d6..fda69bc 100644
--- a/server/plugins/messages.py
+++ b/server/plugins/messages.py
@@ -37,15 +37,15 @@ import plugins.aaa
import plugins.session
import plugins.database
-PYPONY_RE_PREFIX = re.compile(r"^([a-zA-Z]+:\s*)+")
+PYPONY_RE_PREFIX = re.compile(r"^([a-zA-Z]+:\s*)+") # Prefixes on subjects,
such as Re: Fwd:, etc.
DATABASE_NOT_CONNECTED = "Database not connected!"
-OLD_SHORTENED_ID_LENGTH = 18
+OLD_SHORTENED_ID_LENGTH = 18 # Thread IDs of 18 char length (deprecated) need
special care in searches
NEEDS_QUOTES = re.compile(r'[][\\()<>@,:;".]') # If these characters are
present in a From: header, quote it
-ESCAPES_RE = re.compile(r'[\\"]')
+ESCAPES_RE = re.compile(r'[\\"]') # Characters to escape with backslash in
make_address()
mbox_cache_privacy: typing.Dict[str, bool] = {}
-BODY_MAXLEN = 200 # TODO: make this a config item
+BODY_MAXLEN = 200 # TODO: make this a config item
# Only these fields are returned by the API:
# (keep this list sorted)