e0c75a6756
* 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>
2 lines
100 B
YAML
2 lines
100 B
YAML
bugfixes:
|
|
- service - Fix for the BSD rcconf code using a Python 2 specific string replace function
|