ansible_mitogen: Consolidate Python 2 & 3 compatibility
Rough guidelines, in decending preference: - Use mitogen.core if possible - Use ansible.module_utils.six if possible - Embed a getattr() or try/except viewkeys() et al can't be brought into mitogen.core because that package still targets Python 2.4. dict.viewkeys() were introduced in Python 2.7.pull/1127/head
parent
0a908d76da
commit
34088a8b7f
Loading…
Reference in New Issue