]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Make the linter happy
authorFrank Brehm <frank@brehm-online.com>
Fri, 11 Nov 2022 12:48:52 +0000 (13:48 +0100)
committerFrank Brehm <frank@brehm-online.com>
Fri, 11 Nov 2022 12:48:52 +0000 (13:48 +0100)
lib/pp_admintools/handler/ldap_password.py

index c15b7c519a0dbfd2ce742ef87777f597034af5f7..ea865f155bb23f68287818a37227e1a62d90157d 100644 (file)
@@ -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