Skip to content

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

Merged
tiran merged 1 commit into
python:3.6from
miss-islington:backport-5affd5c-3.6
Mar 14, 2018
Merged

[3.6] bpo-32885: Tools/scripts/pathfix.py: Add -n option for no backup~ (GH-5772)#6104
tiran merged 1 commit into
python:3.6from
miss-islington:backport-5affd5c-3.6

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

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 miro@hroncok.cz

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 <miro@hroncok.cz>
@miss-islington

Copy link
Copy Markdown
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
Copy Markdown

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

@miss-islington

Copy link
Copy Markdown
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