From: Frank Brehm Date: Tue, 26 Mar 2024 17:27:51 +0000 (+0100) Subject: Fixing typo X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=65e6920fa7879bde4741fafcd634da9f8dddb752;p=pixelpark%2Fpp-admin-tools.git Fixing typo --- 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)