mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
cleaned up some pylint errors
This commit is contained in:
parent
f981699c75
commit
cf131c9a5a
@ -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…
Reference in New Issue
Block a user