/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-02-19 03:30:42 UTC
  • mfrom: (7490.3.2 work)
  • mto: (7490.3.3 work)
  • mto: This revision was merged to the branch mainline in revision 7495.
  • Revision ID: jelmer@jelmer.uk-20200219033042-rvhvcukl72qb1wav
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
280
280
            return json.loads(response.text)
281
281
        raise InvalidHttpResponse(path, response.text)
282
282
 
283
 
    def _create_pull(self, path, title, head, base, body=None, labels=None, assignee=None):
 
283
    def _create_pull(self, path, title, head, base, body=None, labels=None, assignee=None, draft=False):
284
284
        data = {
285
285
            'title': title,
286
286
            'head': head,
287
287
            'base': base,
 
288
            'draft': draft,
288
289
        }
289
290
        if labels is not None:
290
291
            data['labels'] = labels