Commit 05be3016 by Brian Coca

return empty string when config file is not used

parent 51efd765
......@@ -85,7 +85,7 @@ def load_config_file():
except configparser.Error as e:
raise AnsibleOptionsError("Error reading config file: \n{0}".format(e))
return p, path
return None
return None, ''
def shell_expand_path(path):
''' shell_expand_path is needed as os.path.expanduser does not work
......
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