~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/lp_propose.py

(jelmer) Allow not specifying default reviewer to lp-propose. (Jelmer
 Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
        self.commit_message = message
89
89
        # XXX: this is where bug lp:583638 could be tackled.
90
90
        if reviews == []:
91
 
            target_reviewer = self.target_branch.lp.reviewer
92
 
            if target_reviewer is None:
93
 
                raise errors.BzrCommandError('No reviewer specified')
94
 
            self.reviews = [(target_reviewer, '')]
 
91
            self.reviews = []
95
92
        else:
96
93
            self.reviews = [(self.launchpad.people[reviewer], review_type)
97
94
                            for reviewer, review_type in