~barry/mailman/lp1423756

« back to all changes in this revision

Viewing changes to src/mailman/runners/outgoing.py

  • Committer: Barry Warsaw
  • Date: 2015-01-05 01:20:33 UTC
  • mfrom: (7264.4.66 py3)
  • Revision ID: barry@list.org-20150105012033-zdrw9c2odhpf22fz
Merge the Python 3 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
"""Outgoing runner."""
19
19
 
 
20
__all__ = [
 
21
    'OutgoingRunner',
 
22
    ]
 
23
 
 
24
 
20
25
import socket
21
26
import logging
22
27
 
23
28
from datetime import datetime
24
29
from lazr.config import as_boolean, as_timedelta
25
 
from uuid import UUID
26
 
from zope.component import getUtility
27
 
 
28
30
from mailman.config import config
29
31
from mailman.core.runner import Runner
30
32
from mailman.interfaces.bounce import BounceContext, IBounceProcessor
34
36
from mailman.interfaces.subscriptions import ISubscriptionService
35
37
from mailman.utilities.datetime import now
36
38
from mailman.utilities.modules import find_name
 
39
from uuid import UUID
 
40
from zope.component import getUtility
37
41
 
38
42
 
39
43
# This controls how often _do_periodic() will try to deal with deferred