mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
cleaned up some pylint errors
This commit is contained in:
parent
f981699c75
commit
cf131c9a5a
1 changed files with 1 additions and 2 deletions
|
@ -1034,7 +1034,7 @@ 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:
|
||||
|
@ -1548,7 +1548,6 @@ def sftp_file(dest_path, contents=None, kwargs=None, local_file=None):
|
|||
if os.path.isdir(local_file):
|
||||
put_args = ['-r']
|
||||
|
||||
|
||||
log.debug('Uploading {0} to {1} (sfcp)'.format(dest_path, kwargs.get('hostname')))
|
||||
|
||||
ssh_args = [
|
||||
|
|
Loading…
Add table
Reference in a new issue