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>
2021-01-05 11:20:44 -05:00
..
fragments Replace the use of the function string.replace with the method str.replace (#68793) 2021-01-05 11:20:44 -05:00
CHANGELOG.rst
changelog.yaml Use antsibull-changelog instead of packaged changelog generator (#69313) 2020-06-11 11:21:21 -07:00
config.yaml Make changelog tool be more strict about suffixes (#70909) 2020-08-06 10:49:39 -05:00