removed lint in the exception string

This commit is contained in:
Stein Arne Storslett 2016-02-23 22:20:55 +01:00
parent f8b5d498c3
commit 0a4132866d

View file

@ -2428,7 +2428,7 @@ def copy(src, dst, recurse=False, remove_existing=False):
raise SaltInvocationError('File path must be absolute.')
if not os.path.exists(src):
raise CommandExecutionError('No such file or directory \'{0}.\''.format(src))
raise CommandExecutionError('No such file or directory \'{0}\''.format(src))
if not salt.utils.is_windows():
pre_user = get_user(src)