]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Fixing linter errors.
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 31 May 2023 09:35:25 +0000 (11:35 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 31 May 2023 09:35:25 +0000 (11:35 +0200)
lib/pp_admintools/app/barracuda_sync.py

index b1ee14b33cc81c72d8dc0e05ce048787c4c14ad7..26ea178d0ec4cbfa904fe1832cdbf74c7075a7a7 100644 (file)
@@ -926,10 +926,10 @@ class BarracudaSyncApp(BaseLdapApplication):
 
         if not nr_aliases:
             if self.verbose:
-               msg = _('No aliases found to mofify in LDAP.')
-               LOG.info(msg)
-               if self.wait_interval:
-                   time.sleep(self.wait_interval * 10)
+                msg = _('No aliases found to mofify in LDAP.')
+                LOG.info(msg)
+                if self.wait_interval:
+                    time.sleep(self.wait_interval * 10)
             return
 
         self.empty_line()
@@ -958,7 +958,7 @@ class BarracudaSyncApp(BaseLdapApplication):
     # -------------------------------------------------------------------------
     def _run(self):
 
-        LOG.info(_("Get all necessary data from LDAP and static virtual aliases table ..."))
+        LOG.info(_('Get all necessary data from LDAP and static virtual aliases table ...'))
         self.verify_barracuda_container()
         self.read_virtual_alias_mappings()
         self.read_barracuda_ldap_aliases()