From 6114987211de2356423b135fa51a6dbef141c995 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 31 May 2023 10:16:00 +0200 Subject: [PATCH] Fixing lib/pp_admintools/app/barracuda_sync.py --- lib/pp_admintools/app/barracuda_sync.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/pp_admintools/app/barracuda_sync.py b/lib/pp_admintools/app/barracuda_sync.py index 29d9b98..b787849 100644 --- a/lib/pp_admintools/app/barracuda_sync.py +++ b/lib/pp_admintools/app/barracuda_sync.py @@ -31,7 +31,7 @@ from ldap3 import MODIFY_ADD, MODIFY_DELETE, MODIFY_REPLACE from .ldap import BaseLdapApplication from ..xlate import XLATOR -__version__ = '0.9.8' +__version__ = '0.9.9' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -206,7 +206,7 @@ class BarracudaSyncApp(BaseLdapApplication): found_all_commands = False if not found_all_commands: - LOG.err(_('Postfix seems not to be installed.')) + LOG.error(_('Postfix seems not to be installed.')) self.exit(5) # ------------------------------------------------------------------------- @@ -224,7 +224,7 @@ class BarracudaSyncApp(BaseLdapApplication): msg += ': ' + pdata.stderr else: msg += '.' - LOG.err(msg) + LOG.error(msg) self.exit(6) if self.verbose > 2: @@ -238,7 +238,7 @@ class BarracudaSyncApp(BaseLdapApplication): if len(self.lookup_table_types) == 0: msg = _('Did not found valid lookup table types.') - LOG.err(msg) + LOG.error(msg) self.exit(6) # ------------------------------------------------------------------------- @@ -256,7 +256,7 @@ class BarracudaSyncApp(BaseLdapApplication): msg += ': ' + pdata.stderr else: msg += '.' - LOG.err(msg) + LOG.error(msg) self.exit(6) value = None @@ -420,7 +420,7 @@ class BarracudaSyncApp(BaseLdapApplication): msg += ': ' + pdata.stderr else: msg += '.' - LOG.err(msg) + LOG.error(msg) self.exit(6) if self.verbose > 2: -- 2.39.5