~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/model/questionjob.py

Undo rename. Again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    'QuestionJob',
9
9
    ]
10
10
 
11
 
from lazr.delegates import delegates
12
11
import simplejson
13
 
from storm.expr import And
 
12
from storm.expr import (
 
13
    And,
 
14
    )
14
15
from storm.locals import (
15
16
    Int,
16
17
    Reference,
22
23
    implements,
23
24
    )
24
25
 
 
26
from lazr.delegates import delegates
 
27
 
25
28
from canonical.config import config
26
29
from canonical.database.enumcol import EnumCol
27
 
from canonical.launchpad.interfaces.lpstorm import IMasterStore
 
30
from canonical.launchpad.interfaces.lpstorm import (
 
31
    IMasterStore,
 
32
    )
 
33
from canonical.launchpad.mail import (
 
34
    format_address,
 
35
    simple_sendmail,
 
36
    )
28
37
from canonical.launchpad.scripts import log
29
38
from lp.answers.enums import (
30
39
    QuestionJobType,
31
40
    QuestionRecipientSet,
32
41
    )
33
42
from lp.answers.interfaces.questionjob import (
 
43
    IQuestionJob,
34
44
    IQuestionEmailJob,
35
45
    IQuestionEmailJobSource,
36
 
    IQuestionJob,
37
46
    )
38
47
from lp.answers.model.question import Question
39
48
from lp.registry.interfaces.person import IPersonSet
42
51
from lp.services.job.runner import BaseRunnableJob
43
52
from lp.services.mail.mailwrapper import MailWrapper
44
53
from lp.services.mail.notificationrecipientset import NotificationRecipientSet
45
 
from lp.services.mail.sendmail import (
46
 
    format_address,
47
 
    format_address_for_person,
48
 
    simple_sendmail,
49
 
    )
 
54
from lp.services.mail.sendmail import format_address_for_person
50
55
from lp.services.propertycache import cachedproperty
51
56
 
52
57