cleanup again
This commit is contained in:
@@ -14,8 +14,6 @@
|
||||
|
||||
__all__ = ["Action"]
|
||||
|
||||
import logging
|
||||
|
||||
from pymodmilter import modify, notify, storage
|
||||
from pymodmilter.conditions import Conditions
|
||||
|
||||
|
||||
@@ -17,7 +17,8 @@ __all__ = [
|
||||
"ModHeader",
|
||||
"DelHeader",
|
||||
"AddDisclaimer",
|
||||
"RewriteLinks"]
|
||||
"RewriteLinks",
|
||||
"Modify"]
|
||||
|
||||
import logging
|
||||
import re
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
|
||||
__all__ = ["Rule"]
|
||||
|
||||
import logging
|
||||
|
||||
from pymodmilter.action import Action
|
||||
from pymodmilter.conditions import Conditions
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
__all__ = [
|
||||
"BaseMailStorage",
|
||||
"FileMailStorage",
|
||||
"Store",
|
||||
"Quarantine"]
|
||||
|
||||
import json
|
||||
|
||||
Reference in New Issue
Block a user