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 Windows failures in pip module due to raw string formatting #26617

Merged
merged 6 commits into from Aug 27, 2015

Conversation

terminalmage
Copy link
Contributor

Fixes #9592.

This allows us to pass lists of args to cmd.* without having to do type
checking beforehand to make sure they're lists.
@terminalmage
Copy link
Contributor Author

Test failures are due to changing list of command arguments. I will update these (and fix the lint errors) later tonight.

@terminalmage
Copy link
Contributor Author

OK, tests have been updated and the module now passes the args to cmd.run_all as lists instead of joining the lists before calling.

Please don't merge yet, I want to do manual testing in the morning before I am comfortable signing off on it.

@justinta justinta added Execution-Module Windows Platform Relates to OS, containers, platform-based utilities like FS, system based apps Medium Change labels Aug 25, 2015
@basepi basepi closed this Aug 25, 2015
@basepi
Copy link
Contributor

basepi commented Aug 25, 2015

Just closing until you do your manual testing. Since tests passed someone could accidentally merge this. =)

@terminalmage terminalmage reopened this Aug 27, 2015
@terminalmage
Copy link
Contributor Author

OK, manual testing went fine, I just ended up making one change unrelated to the rest of the changes to ensure that we return a useful error when non-list input is specified for pip.installed's "pkgs" argument.

basepi added a commit that referenced this pull request Aug 27, 2015
Fix Windows failures in pip module due to raw string formatting
@basepi basepi merged commit c3a6280 into saltstack:2015.5 Aug 27, 2015
@terminalmage terminalmage deleted the issue9592 branch August 28, 2015 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Execution-Module Platform Relates to OS, containers, platform-based utilities like FS, system based apps Tests-Passed Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants