~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/testing/factory.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-04 23:59:50 UTC
  • mfrom: (14621.1.4 xss_911632)
  • Revision ID: launchpad@pqm.canonical.com-20120104235950-13dqftqbpu1zxcdh
[r=abentley][bug=911632] Fix template to escape output of no branch
        message.

Show diffs side-by-side

added added

removed removed

Lines of Context:
768
768
        """
769
769
        if email_status is None:
770
770
            email_status = EmailAddressStatus.VALIDATED
 
771
        if account is None:
 
772
            account = person.account
771
773
        return getUtility(IEmailAddressSet).new(
772
774
            address, person, email_status, account)
773
775