mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
more linting fixes
This commit is contained in:
parent
cf131c9a5a
commit
9efc13c810
1 changed files with 2 additions and 2 deletions
|
@ -1034,11 +1034,11 @@ def deploy_script(host,
|
|||
continue
|
||||
|
||||
if os.path.isdir(local_file):
|
||||
dir_name = os.path.basename(local_file)
|
||||
dir_name = os.path.basename(local_file)
|
||||
remote_dir = os.path.join(os.path.dirname(remote_file),
|
||||
dir_name)
|
||||
else:
|
||||
remote_dir = s.path.dirname(remote_file)
|
||||
remote_dir = os.path.dirname(remote_file)
|
||||
|
||||
if remote_dir not in remote_dirs:
|
||||
root_cmd('mkdir -p \'{0}\''.format(remote_dir), tty, sudo, **kwargs)
|
||||
|
|
Loading…
Add table
Reference in a new issue