Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix auto-completion of choices #2295

Merged
merged 1 commit into from
Sep 15, 2019
Merged

Conversation

ssbarnea
Copy link
Member

Avoids pallets/click#591 by converting choices
to lists of strings.

Avoids pallets/click#591 by converting choices
to lists of strings.

Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
@@ -105,7 +105,7 @@ def execute(self):
@click.option(
'--driver-name',
'-d',
type=click.Choice(drivers()),
type=click.Choice([str(s) for s in drivers()]),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost feel like we should reference the issue here in a comment but I leave it to you.

Copy link
Contributor

@decentral1se decentral1se left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another good catch!

@ssbarnea ssbarnea merged commit 5c41a37 into ansible:master Sep 15, 2019
@ssbarnea ssbarnea deleted the fix/choice branch January 4, 2020 11:06
@ssbarnea ssbarnea added bug and removed .bump labels Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants