From: Frank Brehm Date: Fri, 11 Nov 2022 12:48:52 +0000 (+0100) Subject: Make the linter happy X-Git-Tag: 0.7.2^2^2~10 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=8f1230e189c0a111a73621a951fbe41546f1aa35;p=pixelpark%2Fpp-admin-tools.git Make the linter happy --- diff --git a/lib/pp_admintools/handler/ldap_password.py b/lib/pp_admintools/handler/ldap_password.py index c15b7c5..ea865f1 100644 --- a/lib/pp_admintools/handler/ldap_password.py +++ b/lib/pp_admintools/handler/ldap_password.py @@ -32,7 +32,7 @@ LOG = logging.getLogger(__name__) _ = XLATOR.gettext ngettext = XLATOR.ngettext -__version__ = '0.3.1' +__version__ = '0.3.2' # ============================================================================= @@ -373,12 +373,12 @@ class LdapPasswordHandler(HandlingObject): if rounds < handler.min_rounds: msg = _("The value for the calculation rounds has to be at least {}.").format( - handler.min_rounds) + handler.min_rounds) raise WrongRoundsError(msg) if rounds > handler.max_rounds: msg = _("The value for the calculation rounds has to at most {}.").format( - handler.max_rounds) + handler.max_rounds) raise WrongRoundsError(msg) return rounds