From e10527a4bf6afde33154c4486324a640eda7f4de Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Sun, 30 Oct 2022 21:33:10 +0100 Subject: [PATCH] This is not used anymore --- core/base/libs/podop/podop/dovecot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/base/libs/podop/podop/dovecot.py b/core/base/libs/podop/podop/dovecot.py index fcf01fab..94385a75 100644 --- a/core/base/libs/podop/podop/dovecot.py +++ b/core/base/libs/podop/podop/dovecot.py @@ -95,7 +95,7 @@ class DictProtocol(asyncio.Protocol): else: response = json.dumps(result).encode("ascii") logging.debug("Replying {}".format(key)) - return await (self.reply(b"O", (key_type+'/'+key).encode("utf8"), response, end=True) if is_iter else self.reply(b"O", response)) + return await (self.reply(b"O", (key_type+'/'+key).encode("utf8"), response) if is_iter else self.reply(b"O", response)) except KeyError: return await self.reply(b"N") @@ -156,7 +156,7 @@ class DictProtocol(asyncio.Protocol): del self.transactions_user[transaction_id] return await self.reply(b"O", transaction_id) - async def reply(self, command, *args, end=True): + async def reply(self, command, *args): logging.debug("Replying {} with {}".format(command, args)) async with self.transport_lock: self.transport.write(command)