From: Frank Brehm Date: Wed, 31 May 2023 09:35:25 +0000 (+0200) Subject: Fixing linter errors. X-Git-Tag: 0.9.0~1^2 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=823944ad9044e29cfdce11dee555b0159d2360bb;p=pixelpark%2Fpp-admin-tools.git Fixing linter errors. --- diff --git a/lib/pp_admintools/app/barracuda_sync.py b/lib/pp_admintools/app/barracuda_sync.py index b1ee14b..26ea178 100644 --- a/lib/pp_admintools/app/barracuda_sync.py +++ b/lib/pp_admintools/app/barracuda_sync.py @@ -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()