first implementation of the mail rework

This commit is contained in:
Jonas Winkler
2020-11-15 23:56:08 +01:00
parent 508d9b6e13
commit d99b4623f8
25 changed files with 421 additions and 8665 deletions

View File

@@ -37,7 +37,7 @@ class Handler(FileSystemEventHandler):
class Command(BaseCommand):
"""
On every iteration of an infinite loop, consume what we can from the
consumption directory, and fetch any mail available.
consumption directory.
"""
def __init__(self, *args, **kwargs):
@@ -45,10 +45,6 @@ class Command(BaseCommand):
self.verbosity = 0
self.logger = logging.getLogger(__name__)
self.file_consumer = None
self.mail_fetcher = None
self.first_iteration = True
self.consumer = Consumer()
BaseCommand.__init__(self, *args, **kwargs)