From a04702fb2b0859d7440e2e2d313b7ffce78a0d54 Mon Sep 17 00:00:00 2001 From: David Boucha Date: Sun, 19 May 2013 13:07:26 -0600 Subject: [PATCH] don't import get_user. Defined locally --- salt/modules/win_file.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/salt/modules/win_file.py b/salt/modules/win_file.py index afa90fa2ba..d7365674db 100644 --- a/salt/modules/win_file.py +++ b/salt/modules/win_file.py @@ -45,7 +45,7 @@ def __virtual__(): if salt.utils.is_windows(): if HAS_WINDOWS_MODULES: global check_perms, get_managed, makedirs_perms, manage_file - global source_list, mkdir, __clean_tmp, get_user, makedirs + global source_list, mkdir, __clean_tmp, makedirs check_perms = namespaced_function(check_perms, globals()) get_managed = namespaced_function(get_managed, globals()) @@ -54,7 +54,6 @@ def __virtual__(): manage_file = namespaced_function(manage_file, globals()) source_list = namespaced_function(source_list, globals()) mkdir = namespaced_function(mkdir, globals()) - get_user = namespaced_function(get_user, globals()) __clean_tmp = namespaced_function(__clean_tmp, globals()) return 'file'