/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/bash_completion/bashcomp.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-08-01 02:49:14 UTC
  • mfrom: (7045.4.39 python3-u)
  • Revision ID: breezy.the.bot@gmail.com-20180801024914-vib3fpfkn36585ie
Fix some more tests on Python 3.

Merged from https://code.launchpad.net/~jelmer/brz/python3-u/+merge/351386

Show diffs side-by-side

added added

removed removed

Lines of Context:
369
369
 
370
370
    def option(self, opt):
371
371
        optswitches = {}
372
 
        parser = option.get_optparser({opt.name: opt})
 
372
        parser = option.get_optparser([opt])
373
373
        parser = self.wrap_parser(optswitches, parser)
374
374
        optswitches.clear()
375
375
        opt.add_option(parser, opt.short_name())