~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/model/persontransferjob.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-22 04:45:35 UTC
  • mfrom: (14565.2.24 apocalyptic-pieces)
  • Revision ID: launchpad@pqm.canonical.com-20111222044535-jbjyzq3hzwiy7g20
[rs=sinzui][no-qa] Move javascript and scripts to lp. Dismantle
 mailnotification.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    IMasterStore,
37
37
    IStore,
38
38
    )
39
 
from canonical.launchpad.mailnotification import MailWrapper
 
39
from lp.services.mail.mailwrapper import MailWrapper
40
40
from canonical.launchpad.webapp import canonical_url
41
41
from lp.app.interfaces.launchpad import ILaunchpadCelebrities
42
42
from lp.registry.enum import PersonTransferJobType
224
224
 
225
225
    def run(self):
226
226
        """See `IMembershipNotificationJob`."""
227
 
        from canonical.launchpad.scripts import log
 
227
        from lp.services.scripts import log
228
228
        from_addr = format_address(
229
229
            self.team.displayname, config.canonical.noreply_from_address)
230
230
        admin_emails = self.team.getTeamAdminsEmailAddresses()
416
416
        from_person_name = self.from_person.name
417
417
        to_person_name = self.to_person.name
418
418
 
419
 
        from canonical.launchpad.scripts import log
 
419
        from lp.services.scripts import log
420
420
        personset = getUtility(IPersonSet)
421
421
        if self.metadata.get('delete', False):
422
422
            log.debug(