You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/changelogs
Lloyd Parkes e0c75a6756
Replace the use of the function string.replace with the method str.replace (#68793)
* Replace the use of the function string.replace() with the method str.replace()
because that's what works for both Python 2 and 3.

* Cleanup the unused string import.

Added a changelog fragment.

* The documentation for os.write() seems a bit iffy, but in Python 3 we
definitely cannot pass it a string and we need to encode it into
bytes.

The Python documentation at
https://docs.python.org/3/howto/pyporting.html#text-versus-binary-data
says that this code will work in Python 2 as well.

Co-authored-by: Lloyd Parkes <lloyd@must-have-coffee.gen.nz>
4 years ago
..
fragments Replace the use of the function string.replace with the method str.replace (#68793) 4 years ago
CHANGELOG.rst fix RPM builds with placeholder CHANGELOG 6 years ago
changelog.yaml Use antsibull-changelog instead of packaged changelog generator (#69313) 4 years ago
config.yaml Make changelog tool be more strict about suffixes (#70909) 4 years ago