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

Do not update no_clean option value in install/wheel #7771

Merged
merged 2 commits into from
Feb 23, 2020

Conversation

chrahunt
Copy link
Member

@chrahunt chrahunt commented Feb 23, 2020

After a recent refactoring of our temporary directory cleanup (#7696), no_clean is only read prior to these except handlers, so we don't need to update its value anymore.

This makes the code easier to reason about (less mutability) and lets us get rid of a level of indentation.
in WheelCommand.

Since a recent refactoring of our temporary directory handling,
`no_clean` is only read prior to these `except` blocks. Since it's not
needed, remove it!
@chrahunt chrahunt changed the title Refactor/remove extra no clean Do not update no_clean option value in install/wheel Feb 23, 2020
@chrahunt chrahunt added skip news Does not need a NEWS file entry (eg: trivial changes) type: refactor Refactoring code labels Feb 23, 2020
@chrahunt chrahunt marked this pull request as ready for review February 23, 2020 20:06
@chrahunt chrahunt merged commit 94c83c0 into pypa:master Feb 23, 2020
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Mar 27, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation skip news Does not need a NEWS file entry (eg: trivial changes) type: refactor Refactoring code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants