Skip to content
Myr

fix merge

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Nic Wiles · committed by Nic Wiles · parent 66a681f · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:click/_bashcomplete.py+2 added-2 removed
36 unmodified lines
37 ctx = cmd.make_context(a[0], a[1:], parent=ctx, resilient_parsing=True)38 return ctx394041def get_choices(cli, prog_name, args, incomplete):41def get_choices(cli, prog_name, args, incomplete, cwords, cword):42 ctx = resolve_ctx(cli, prog_name, args)43 if ctx is None:44 return45
36 unmodified lines
82 incomplete = cwords[cword]83 except IndexError:84 incomplete = ''8586 for item in get_choices(cli, prog_name, args, incomplete):86 for item in get_choices(cli, prog_name, args, incomplete, cwords, cword):87 echo(item)8889 return True90
8 unmodified lines