mirror of https://github.com/ansible/ansible.git
Remove need for translate/maketrans due to py3 differences
* translate() has a different api for text vs byte strings * maketrans must be imported from a different location on py2 vs py3 Since this is such a small string outside of a loop we don't have to worry too much about speed so it's better to have a single piece of code that works on both py2 and py3pull/18777/head
parent
c2f4e7c852
commit
4d3fec908b
Loading…
Reference in New Issue