/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/propose/github.py

  • Committer: Jelmer Vernooij
  • Date: 2020-03-07 14:51:22 UTC
  • mto: (7490.7.1 work)
  • mto: This revision was merged to the branch mainline in revision 7498.
  • Revision ID: jelmer@jelmer.uk-20200307145122-qedl8wns8ik2nu30
Drop extra s.

Show diffs side-by-side

added added

removed removed

Lines of Context:
281
281
        raise InvalidHttpResponse(path, response.text)
282
282
 
283
283
    def _create_pull(self, path, title, head, base, body=None, labels=None,
284
 
                     assignee=None, draft=False, maintainers_can_modify=False):
 
284
                     assignee=None, draft=False, maintainer_can_modify=False):
285
285
        data = {
286
286
            'title': title,
287
287
            'head': head,
288
288
            'base': base,
289
289
            'draft': draft,
290
 
            'maintainers_can_modify': maintainers_can_modify,
 
290
            'maintainer_can_modify': maintainer_can_modify,
291
291
        }
292
292
        if labels is not None:
293
293
            data['labels'] = labels
568
568
            self.target_repo_name = self.target_repo_name[:-4]
569
569
        # TODO(jelmer): Allow setting title explicitly?
570
570
        title = determine_title(description)
571
 
        # TODO(jelmer): Set maintainers_can_modify?
572
571
        target_repo = self.gh._get_repo(
573
572
            self.target_owner, self.target_repo_name)
574
573
        assignees = []