email: Drop unused utility method for logging

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2022-03-02 07:38:36 -05:00
1 parent 8a53957b1e
commit 59e51faf2e
1 file changed
-9
-9
View File
@@ -1,18 +1,9 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
import contextlib
import logging
import os
import uuid
logger = logging.getLogger(__name__)
def log_subprocess(result):
logger.critical('Subprocess returned %d', result.returncode)
logger.critical('Stdout: %r', result.stdout)
logger.critical('Stderr: %r', result.stderr)
@contextlib.contextmanager
def atomically_rewrite(filepath):