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 TypeError in VCRuntimeRedist #4628

Merged
merged 4 commits into from
Sep 3, 2024
Merged

Conversation

jaraco
Copy link
Member

@jaraco jaraco commented Sep 3, 2024

  • Prefer generator expression in VCRuntimeRedist
  • In return_env, avoid checking isfile.
  • Add type annotation for VCRuntimeRedist and update the docstring to reflect the behavior.

Summary of changes

Closes

Pull Request Checklist

Since `isfile` is already called on the paths processed by VCRuntimeRedist, this call is redundant, but it also fails if the result from VCRuntimeRedist was None. Fixes #1902
@jaraco jaraco merged commit 60d2d56 into main Sep 3, 2024
36 of 38 checks passed
@jaraco jaraco deleted the bugfix/1902-msvc-vcruntimeredist branch September 3, 2024 12:48
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