~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/subscribers/bug.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-09 09:23:38 UTC
  • mfrom: (14333.2.13 history-model)
  • Revision ID: launchpad@pqm.canonical.com-20111209092338-se7u5l0skqzaes1v
[r=jcsackett][bug=295214, 894836,
 898200] Keep sort button ob bug listing pages in sync with the
 displayed data

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
import datetime
18
18
 
 
19
from canonical.config import config
 
20
from canonical.database.sqlbase import block_implicit_flushes
 
21
from canonical.launchpad.helpers import get_contact_email_addresses
 
22
from canonical.launchpad.webapp.publisher import canonical_url
19
23
from lp.bugs.adapters.bugchange import (
20
24
    BugDuplicateChange,
 
25
    BugTaskTargetChange,
21
26
    BugTaskAssigneeChange,
22
 
    BugTaskTargetChange,
23
27
    get_bug_changes,
24
28
    )
25
29
from lp.bugs.adapters.bugdelta import BugDelta
30
34
from lp.bugs.model.bug import get_also_notified_subscribers
31
35
from lp.registry.interfaces.person import IPerson
32
36
from lp.registry.interfaces.product import IProduct
33
 
from lp.services.config import config
34
 
from lp.services.database.sqlbase import block_implicit_flushes
35
 
from lp.services.mail.helpers import get_contact_email_addresses
36
37
from lp.services.mail.sendmail import (
37
38
    format_address,
38
39
    sendmail,
39
40
    )
40
 
from lp.services.webapp.publisher import canonical_url
41
41
 
42
42
 
43
43
@block_implicit_flushes