From cdc9b63a46561beabceed0bbb40a21ccc8b508dc Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Sun, 30 Oct 2022 21:54:03 +0100 Subject: [PATCH] Guard the message logging too --- core/base/libs/podop/podop/dovecot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/base/libs/podop/podop/dovecot.py b/core/base/libs/podop/podop/dovecot.py index 7b27fa86..8fc06d6d 100644 --- a/core/base/libs/podop/podop/dovecot.py +++ b/core/base/libs/podop/podop/dovecot.py @@ -156,8 +156,8 @@ class DictProtocol(asyncio.Protocol): return await self.reply(b"O", transaction_id) async def reply(self, command, *args): - logging.debug("Replying {} with {}".format(command, args)) async with self.transport_lock: + logging.debug("Replying {} with {}".format(command, args)) self.transport.write(command) self.transport.write(b"\t".join(map(tabescape, args))) if end: