spyinx
spyinx
> This is not really a bug, `_original_basename` is an internal parameter that is only passed when `remote_src` is `False` for the case in which `dest` is a directory. >...
@mattclay thanks a lot, i have no other questions,you can close the issue.
Is it necessary to optimize _save_ssh_host_keys() in paramiko_ssh.py or was there any concern at that time?
> Can you add a test? i don't know how to write test case for these changes, one just add 'mode' param in makedirs_safe(), and there no examples in test/units...
@Akasurde thanks a lot, i will write a test playbook based on your example!
my test case was based on my host's test directory: ```shell [store@spyinx ~]$ tree test test ├── a │ ├── test1.txt │ └── test2.txt ├── b │ ├── bb │ ...