]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Fixing typo
authorFrank Brehm <frank.brehm@pixelpark.com>
Tue, 26 Mar 2024 17:27:51 +0000 (18:27 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Tue, 26 Mar 2024 17:27:51 +0000 (18:27 +0100)
lib/pp_admintools/postfix_chain.py

index aab306e9cbceda5c35fa113a33d5b35b8a8d89d1..428e2b5485c6275643aed1655e2dd4ab64165021 100644 (file)
@@ -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)