mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-32885: Tools/scripts/pathfix.py: Add -n option for no backup~ (#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.
This commit is contained in:
parent
b51f5de711
commit
5affd5c29e
3 changed files with 23 additions and 8 deletions
|
@ -687,6 +687,7 @@ Ken Howard
|
|||
Brad Howes
|
||||
Mike Hoy
|
||||
Ben Hoyt
|
||||
Miro Hrončok
|
||||
Chiu-Hsiang Hsu
|
||||
Chih-Hao Huang
|
||||
Christian Hudon
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disbale automatic
|
||||
backup creation (files with ``~`` suffix).
|
Loading…
Add table
Add a link
Reference in a new issue