mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
removed lint in the exception string
This commit is contained in:
parent
f8b5d498c3
commit
0a4132866d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue