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

index 29d9b98fd0642891765b9728f7e79ad63759532a..b787849dc88523d74fa62f46837a811f2a3c99b5 100644 (file)
@@ -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: