mirror of https://github.com/ansible/ansible.git
Fix TypeError when using old simplejson lib.
On some very old simplejson does not support the 'encoding' and give following exception: TypeError: __init__() got an unexpected keyword argument 'encoding' This fix runs json.dump with no encoding key (such as before #a023cb) on TypeError exception only.pull/6679/head
parent
605156c904
commit
ef6b437d0d
Loading…
Reference in New Issue