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

[3.6] bpo-32885: Tools/scripts/pathfix.py: Add -n option for no backup~ (GH-5772) #6104

Merged
merged 1 commit into from
Mar 14, 2018

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 13, 2018

Creating backup files with ~ suffix can be undesirable in some environment,
such as when building RPM packages. Instead of requiring the user to remove
those files manually, option -n was added, that simply disables this feature.

-n was selected because 2to3 has the same option with this behavior.
(cherry picked from commit 5affd5c)

Co-authored-by: Miro Hrončok [email protected]

https://bugs.python.org/issue32885

…thonGH-5772)

Creating backup files with ~ suffix can be undesirable in some environment,
such as when building RPM packages. Instead of requiring the user to remove
those files manually, option -n was added, that simply disables this feature.

-n was selected because 2to3 has the same option with this behavior.
(cherry picked from commit 5affd5c)

Co-authored-by: Miro Hrončok <[email protected]>
@miss-islington
Copy link
Contributor Author

@hroncok and @tiran: Backport status check is done, and it's a success ✅ .

@tiran tiran merged commit a954919 into python:3.6 Mar 14, 2018
@bedevere-bot
Copy link

@tiran: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington
Copy link
Contributor Author

Thanks, @tiran!

@miss-islington miss-islington deleted the backport-5affd5c-3.6 branch March 14, 2018 17:52
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.

5 participants