Commit cc6ad405 by James Cammarata

Merge pull request #8191 from Jmainguy/mysql_db_8173

This fixes 8173, if target was not defined it would break, now it wont
parents 9fac3b0d 6789098b
......@@ -283,7 +283,8 @@ def main():
target = module.params["target"]
# make sure the target path is expanded for ~ and $HOME
target = os.path.expandvars(os.path.expanduser(target))
if target is not None:
target = os.path.expandvars(os.path.expanduser(target))
# Either the caller passes both a username and password with which to connect to
# mysql, or they pass neither and allow this module to read the credentials from
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment