diff options
author | Miro HronĨok <miro@hroncok.cz> | 2018-03-13 09:56:43 (GMT) |
---|---|---|
committer | Christian Heimes <christian@python.org> | 2018-03-13 09:56:43 (GMT) |
commit | 5affd5c29eb1493cb31ef3cfdde15538ac134689 (patch) | |
tree | 4ce7b5348ecdfedf79c3ebb9d88ea48be1f323b8 /Misc/NEWS.d/next/Tools-Demos | |
parent | b51f5de71163f096d2d5229ede5379cdb284f651 (diff) | |
download | cpython-5affd5c29eb1493cb31ef3cfdde15538ac134689.zip cpython-5affd5c29eb1493cb31ef3cfdde15538ac134689.tar.gz cpython-5affd5c29eb1493cb31ef3cfdde15538ac134689.tar.bz2 |
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.
Diffstat (limited to 'Misc/NEWS.d/next/Tools-Demos')
-rw-r--r-- | Misc/NEWS.d/next/Tools-Demos/2018-02-20-12-16-47.bpo-32885.dL5x7C.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tools-Demos/2018-02-20-12-16-47.bpo-32885.dL5x7C.rst b/Misc/NEWS.d/next/Tools-Demos/2018-02-20-12-16-47.bpo-32885.dL5x7C.rst new file mode 100644 index 0000000..e003e1d --- /dev/null +++ b/Misc/NEWS.d/next/Tools-Demos/2018-02-20-12-16-47.bpo-32885.dL5x7C.rst @@ -0,0 +1,2 @@ +Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disbale automatic +backup creation (files with ``~`` suffix). |