~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Curtis Hovey
  • Date: 2011-12-23 17:18:11 UTC
  • mto: This revision was merged to the branch mainline in revision 14599.
  • Revision ID: curtis.hovey@canonical.com-20111223171811-0pl78hw2noohfy4r
Dismantled doctest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
    SQLBase,
57
57
    sqlvalues,
58
58
    )
59
 
from lp.services.mail.helpers import get_email_template
 
59
from canonical.launchpad import helpers
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 = get_email_template(template_mail, 'translations')
 
1176
        template = helpers.get_email_template(template_mail, 'translations')
1177
1177
        message = template % replacements
1178
1178
        return (subject, message)
1179
1179