~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-07-30 09:17:36 UTC
  • mfrom: (13555.6.2 bug-761874)
  • Revision ID: launchpad@pqm.canonical.com-20110730091736-jjqwebomgxusdl3u
[r=wallyworld][bug=761874] Stop mailing ~registry on team deletes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
class IPersonMergeJobSource(IJobSource):
103
103
    """An interface for acquiring IPersonMergeJobs."""
104
104
 
105
 
    def create(from_person, to_person, reviewer=None):
 
105
    def create(from_person, to_person, reviewer=None, delete=False):
106
106
        """Create a new IPersonMergeJob.
107
107
 
108
108
        None is returned if either the from_person or to_person are already
112
112
        :param from_person: An IPerson or ITeam that is a duplicate.
113
113
        :param to_person: An IPerson or ITeam that is a master.
114
114
        :param reviewer: An IPerson who approved ITeam merger.
 
115
        :param delete: The merge is really a deletion.
115
116
        """
116
117
 
117
118
    def find(from_person=None, to_person=None, any_person=False):