password needs to be type str.

In 1.9 this was the default.  In 2.0.0 and 2.0.1 this doesn't get set.
2.1.0 will fix the default but we should fix this now.
This commit is contained in:
Toshio Kuratomi 2016-02-11 13:04:00 -08:00
parent 0d1bf50ca1
commit 8d126bd877

View file

@ -469,7 +469,7 @@ def main():
login_port=dict(default=3306, type='int'), login_port=dict(default=3306, type='int'),
login_unix_socket=dict(default=None), login_unix_socket=dict(default=None),
user=dict(required=True, aliases=['name']), user=dict(required=True, aliases=['name']),
password=dict(default=None, no_log=True), password=dict(default=None, no_log=True, type='str'),
encrypted=dict(default=False, type='bool'), encrypted=dict(default=False, type='bool'),
host=dict(default="localhost"), host=dict(default="localhost"),
host_all=dict(type="bool", default="no"), host_all=dict(type="bool", default="no"),