~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/model/pofile.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-24 09:25:36 UTC
  • mfrom: (14593.2.17 apocalypta-0)
  • Revision ID: launchpad@pqm.canonical.com-20111224092536-rdgyq1kfsi3hunqr
[rs=sinzui][no-qa] Moved forgotten files to lp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
    SQLBase,
57
57
    sqlvalues,
58
58
    )
59
 
from canonical.launchpad import helpers
 
59
from lp.services.mail.helpers import get_email_template
60
60
from lp.services.database.lpstorm import IStore
61
61
from canonical.launchpad.readonly import is_read_only
62
62
from canonical.launchpad.webapp.interfaces import (
1173
1173
            # Now we update the statistics after this new import
1174
1174
            self.updateStatistics()
1175
1175
 
1176
 
        template = helpers.get_email_template(template_mail, 'translations')
 
1176
        template = get_email_template(template_mail, 'translations')
1177
1177
        message = template % replacements
1178
1178
        return (subject, message)
1179
1179