Skip to content
Myr

Fix empty return path in get_choices

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

authored by Nicholas Wiles · committed by Nicholas Wiles · parent a02cbb7 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:click/_bashcomplete.py+1 added-1 removed
152 unmodified lines
153 all_args = copy.deepcopy(args)154155 ctx = resolve_ctx(cli, prog_name, args)156 if ctx is None:157 return157 return []158159 # In newer versions of bash long opts with '='s are partitioned, but it's easier to parse160 # without the '='161 if start_of_option(incomplete) and WORDBREAK in incomplete:
56 unmodified lines