cleanup again
This commit is contained in:
@@ -14,8 +14,6 @@
|
|||||||
|
|
||||||
__all__ = ["Action"]
|
__all__ = ["Action"]
|
||||||
|
|
||||||
import logging
|
|
||||||
|
|
||||||
from pymodmilter import modify, notify, storage
|
from pymodmilter import modify, notify, storage
|
||||||
from pymodmilter.conditions import Conditions
|
from pymodmilter.conditions import Conditions
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,8 @@ __all__ = [
|
|||||||
"ModHeader",
|
"ModHeader",
|
||||||
"DelHeader",
|
"DelHeader",
|
||||||
"AddDisclaimer",
|
"AddDisclaimer",
|
||||||
"RewriteLinks"]
|
"RewriteLinks",
|
||||||
|
"Modify"]
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
|
|||||||
@@ -14,7 +14,8 @@
|
|||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"BaseNotification",
|
"BaseNotification",
|
||||||
"EMailNotification"]
|
"EMailNotification",
|
||||||
|
"Notify"]
|
||||||
|
|
||||||
import email
|
import email
|
||||||
import logging
|
import logging
|
||||||
@@ -256,7 +257,6 @@ class EMailNotification(BaseNotification):
|
|||||||
logger.debug("parsing email template")
|
logger.debug("parsing email template")
|
||||||
|
|
||||||
# generate dict containing all template variables
|
# generate dict containing all template variables
|
||||||
|
|
||||||
variables = defaultdict(str, template_vars)
|
variables = defaultdict(str, template_vars)
|
||||||
variables.update({
|
variables.update({
|
||||||
"HTML_TEXT": sanitized_text,
|
"HTML_TEXT": sanitized_text,
|
||||||
|
|||||||
@@ -14,8 +14,6 @@
|
|||||||
|
|
||||||
__all__ = ["Rule"]
|
__all__ = ["Rule"]
|
||||||
|
|
||||||
import logging
|
|
||||||
|
|
||||||
from pymodmilter.action import Action
|
from pymodmilter.action import Action
|
||||||
from pymodmilter.conditions import Conditions
|
from pymodmilter.conditions import Conditions
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
__all__ = [
|
__all__ = [
|
||||||
"BaseMailStorage",
|
"BaseMailStorage",
|
||||||
"FileMailStorage",
|
"FileMailStorage",
|
||||||
|
"Store",
|
||||||
"Quarantine"]
|
"Quarantine"]
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
|||||||
Reference in New Issue
Block a user