]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Fixing PostfixLogfileParser
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 10 Apr 2024 15:37:21 +0000 (17:37 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 10 Apr 2024 15:37:21 +0000 (17:37 +0200)
lib/pp_admintools/handler/pflogparse.py

index 051770fec332c39ca03843fe38ac6cd6ea9f7ac4..70598e97e2262be9c4c4679c7a2be7a718b46ea5 100644 (file)
@@ -28,7 +28,7 @@ LOG = logging.getLogger(__name__)
 _ = XLATOR.gettext
 ngettext = XLATOR.ngettext
 
-__version__ = '0.5.2'
+__version__ = '0.5.3'
 
 
 # =============================================================================
@@ -328,14 +328,14 @@ class PostfixLogfileParser(HandlingObject):
                 return
 
         if command == 'opendkim':
-            if self._eval_dkim(self, postfix_id, message):
+            if self._eval_dkim(postfix_id, message):
                 return
 
         if smtpd_done:
             return
 
         if command == 'postfix/bounce':
-            if self._eval_bounce(self, postfix_id, message):
+            if self._eval_bounce(postfix_id, message):
                 return
 
         if self.verbose > 1: