community.general/lib/ansible/modules/database/mysql
Michael Scherer 839d5b6de4 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'
2016-12-08 11:24:56 -05:00
..
__init__.py Some more module categorization. 2016-12-08 11:22:25 -05:00
mysql_db.py mysql_db: use new exception handling, fixes build (#4373) 2016-12-08 11:24:49 -05:00
mysql_user.py Fix mysql_user for python3 (#4576) 2016-12-08 11:24:56 -05:00
mysql_variables.py Convert all databases modules to python3 and 2.4 syntax (#3688) 2016-12-08 11:24:29 -05:00