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 5cb4578b95c77a63a651322291ec4d91c984af27 Author: Sebb <[email protected]> AuthorDate: Fri Jun 4 11:36:34 2021 +0100 Unused variables --- tools/plugins/dkim_id.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/plugins/dkim_id.py b/tools/plugins/dkim_id.py index 3fcc8a5..91cc2cd 100644 --- a/tools/plugins/dkim_id.py +++ b/tools/plugins/dkim_id.py @@ -150,7 +150,6 @@ def rfc6376_relaxed_head(headers: Headers) -> Headers: >>> rfc6376_relaxed_head([[b" \t.\r\n", b"\t\r\n\f"]]) [[b'.', b'\x0c']] """ - i: int output: Headers = [] k: bytes v: bytes @@ -265,7 +264,6 @@ def rfc6376_join(headers: Headers, body: Optional[bytes] = None) -> bytes: >>> rfc6376_join([[b'To', b' Recipient\r\n']], b'Body') b'To: Recipient\r\n\r\nBody' """ - header: List[bytes] signable: bytes = b"".join([b":".join(header) for header in headers]) if body is not None: # In some cases, the headers may not end with \r\n
