From 65e6920fa7879bde4741fafcd634da9f8dddb752 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 26 Mar 2024 18:27:51 +0100 Subject: [PATCH] Fixing typo --- lib/pp_admintools/postfix_chain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pp_admintools/postfix_chain.py b/lib/pp_admintools/postfix_chain.py index aab306e..428e2b5 100644 --- a/lib/pp_admintools/postfix_chain.py +++ b/lib/pp_admintools/postfix_chain.py @@ -707,7 +707,7 @@ class PostfixLogchainInfo(FbGenericBaseObject): try: val = int(value) self._size = val - except ValueErros as e: + except ValueError as e: msg = _('Could not interprete mail size {a!r}: {e}').format(a=val, e=e) if self.warn_on_parse_error: LOG.warn(msg) @@ -733,7 +733,7 @@ class PostfixLogchainInfo(FbGenericBaseObject): try: val = int(value) self._nr_rcpt = val - except ValueErros as e: + except ValueError as e: msg = _('Could not interprete number of recipients {a!r}: {e}').format(a=val, e=e) if self.warn_on_parse_error: LOG.warn(msg) -- 2.39.5