~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to cronscripts/send-bug-notifications.py

  • Committer: William Grant
  • Date: 2011-12-30 06:47:17 UTC
  • mto: This revision was merged to the branch mainline in revision 14610.
  • Revision ID: william.grant@canonical.com-20111230064717-n5re5t6we5w8o17z
Replace canonical.database usage everywhere, and format-imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
from zope.component import getUtility
19
19
 
20
 
from lp.services.config import config
21
 
from canonical.database.constants import UTC_NOW
22
 
from lp.services.mail.sendmail import sendmail
23
20
from lp.bugs.enum import BugNotificationStatus
24
21
from lp.bugs.interfaces.bugnotification import IBugNotificationSet
25
22
from lp.bugs.scripts.bugnotification import (
26
23
    get_email_notifications,
27
24
    process_deferred_notifications,
28
25
    )
 
26
from lp.services.config import config
 
27
from lp.services.database.constants import UTC_NOW
 
28
from lp.services.mail.sendmail import sendmail
29
29
from lp.services.scripts.base import LaunchpadCronScript
30
30
 
31
31