mirror of https://github.com/ansible/ansible.git
Fix mysql_user for python3 (#4576)
dict no longer have a iteritems method, it was replaced by items. So we need to use six. Traceback (most recent call last): File \"/tmp/ansible_hjd7d65c/ansible_module_mysql_user.py\", line 587, in <module> main() File \"/tmp/ansible_hjd7d65c/ansible_module_mysql_user.py\", line 571, in main changed = user_add(cursor, user, host, host_all, password, encrypted, priv, module.check_mode) File \"/tmp/ansible_hjd7d65c/ansible_module_mysql_user.py\", line 239, in user_add for db_table, priv in new_priv.iteritems(): AttributeError: 'dict' object has no attribute 'iteritems'pull/18777/head
parent
549ca5183d
commit
839d5b6de4
Loading…
Reference in New Issue