Fixed issue with sftp put while having use_sudo together with mode set #917
I really like this idea, thanks! Should solve a common complaint and I don't see an obvious downside.
Might just be Github but did you submit this using tabs or something? Otherwise the indent level appears to be off.
Also lacking the usual stuff re: changelog (could also use a test in
If you can fix up the above I'll merge - thanks again.