From 3e2e81d896067170e72ca2999fe84c1ba81b9604 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 2 Jun 2015 23:42:00 -0400 Subject: [PATCH] missing path in import path for making paths --- lib/ansible/plugins/connections/winrm.py | 2 +- lib/ansible/plugins/lookup/password.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/plugins/connections/winrm.py b/lib/ansible/plugins/connections/winrm.py index dbdf7cd6789..f16da0f6e63 100644 --- a/lib/ansible/plugins/connections/winrm.py +++ b/lib/ansible/plugins/connections/winrm.py @@ -44,7 +44,7 @@ from ansible import constants as C from ansible.errors import AnsibleError, AnsibleConnectionFailure, AnsibleFileNotFound from ansible.plugins.connections import ConnectionBase from ansible.plugins import shell_loader -from ansible.utils import makedirs_safe +from ansible.utils.path import makedirs_safe class Connection(ConnectionBase): '''WinRM connections over HTTP/HTTPS.''' diff --git a/lib/ansible/plugins/lookup/password.py b/lib/ansible/plugins/lookup/password.py index 9506274e5f8..47ec786429e 100644 --- a/lib/ansible/plugins/lookup/password.py +++ b/lib/ansible/plugins/lookup/password.py @@ -30,7 +30,7 @@ from ansible import constants as C from ansible.errors import AnsibleError from ansible.plugins.lookup import LookupBase from ansible.utils.encrypt import do_encrypt -from ansible.utils import makedirs_safe +from ansible.utils.path import makedirs_safe DEFAULT_LENGTH = 20