From 1dccb1e8e8bf0f6ea7bc6c07f8ade8bfff121f35 Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Thu, 11 Jul 2013 17:51:48 -0500 Subject: [PATCH] import _binary_replace for win_file.py Windows file management re-uses a lot of functions from salt.modules.file, and a new function added in b93c724, which is needed in check_file_meta(), was not added to the functions that are imported into win_file.py. Fixes #6116. --- salt/modules/win_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/modules/win_file.py b/salt/modules/win_file.py index b0d3966d9f..14f3776583 100644 --- a/salt/modules/win_file.py +++ b/salt/modules/win_file.py @@ -33,7 +33,7 @@ from salt.modules.file import (check_hash, check_managed, check_perms, # pylint: contains_regex, contains_regex_multiline, contains_glob, patch, uncomment, sed, find, psed, get_sum, check_hash, get_hash, comment, manage_file, file_exists, get_diff, get_managed, __clean_tmp, - check_managed, check_file_meta, contains_regex) + check_managed, check_file_meta, _binary_replace, contains_regex) from salt.utils import namespaced_function