cleanup again

This commit is contained in:
2021-09-30 02:06:16 +02:00
parent e11d78ae4f
commit 7de9cc1bb8
5 changed files with 5 additions and 7 deletions

View File

@@ -14,8 +14,6 @@
__all__ = ["Action"]
import logging
from pymodmilter import modify, notify, storage
from pymodmilter.conditions import Conditions

View File

@@ -17,7 +17,8 @@ __all__ = [
"ModHeader",
"DelHeader",
"AddDisclaimer",
"RewriteLinks"]
"RewriteLinks",
"Modify"]
import logging
import re

View File

@@ -14,7 +14,8 @@
__all__ = [
"BaseNotification",
"EMailNotification"]
"EMailNotification",
"Notify"]
import email
import logging
@@ -256,7 +257,6 @@ class EMailNotification(BaseNotification):
logger.debug("parsing email template")
# generate dict containing all template variables
variables = defaultdict(str, template_vars)
variables.update({
"HTML_TEXT": sanitized_text,

View File

@@ -14,8 +14,6 @@
__all__ = ["Rule"]
import logging
from pymodmilter.action import Action
from pymodmilter.conditions import Conditions

View File

@@ -15,6 +15,7 @@
__all__ = [
"BaseMailStorage",
"FileMailStorage",
"Store",
"Quarantine"]
import json