]> granicus.if.org Git - python/commit
bpo-32885: Tools/scripts/pathfix.py: Add -n option for no backup~ (#5772)
authorMiro Hrončok <miro@hroncok.cz>
Tue, 13 Mar 2018 09:56:43 +0000 (10:56 +0100)
committerChristian Heimes <christian@python.org>
Tue, 13 Mar 2018 09:56:43 +0000 (05:56 -0400)
commit5affd5c29eb1493cb31ef3cfdde15538ac134689
tree4ce7b5348ecdfedf79c3ebb9d88ea48be1f323b8
parentb51f5de71163f096d2d5229ede5379cdb284f651
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.
Misc/ACKS
Misc/NEWS.d/next/Tools-Demos/2018-02-20-12-16-47.bpo-32885.dL5x7C.rst [new file with mode: 0644]
Tools/scripts/pathfix.py