From 59c6ace8ef7245819dec7de94c2eab270ddb8bae Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Sun, 10 Mar 2013 21:01:23 -0600 Subject: [PATCH] Fix bad comment when no source template file is found Fix #3699 --- salt/modules/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/modules/file.py b/salt/modules/file.py index f62f9ed458..2fd3d7129e 100644 --- a/salt/modules/file.py +++ b/salt/modules/file.py @@ -973,7 +973,7 @@ def get_managed( if template and source: sfn = __salt__['cp.cache_file'](source, env) if not os.path.exists(sfn): - return sfn, {}, 'File "{0}" could not be found'.format(sfn) + return sfn, {}, 'Source file {0} not found'.format(source) if template in salt.utils.templates.TEMPLATE_REGISTRY: context_dict = defaults if defaults else {} if context: