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

normalize list of uninstalled to single list of str #525

Merged
merged 1 commit into from
Jul 18, 2017

Conversation

wjwwood
Copy link
Contributor

@wjwwood wjwwood commented Jul 18, 2017

Fixes: #524

For the original issue. This just works around the fact that the "uninstalled" is returned in a different data layout in some cases with Homebrew by normalizing it into a list of str's before trying to join it.

I looked at why the data layout is different, but the function declares that the layout is "opaque" as it is passed up from the installer and then back into it again without being used (except to print in verbose mode, which is why this came up). I think the difference is important to the function of the Homebrew implementation. I didn't want to refactor it completely, so I just made the printing functions more flexible.

@wjwwood wjwwood self-assigned this Jul 18, 2017
@wjwwood wjwwood merged commit 2e95fab into master Jul 18, 2017
@wjwwood wjwwood deleted the fix_verbose_install_with_homebrew branch July 18, 2017 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant