No description provided.
fixed issue put using use_sudo together with mode
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 integration/ if you have time, but not 100% critical) - see https://github.com/fabric/fabric/blob/master/CONTRIBUTING.rst :)
If you can fix up the above I'll merge - thanks again.
Merge remote-tracking branch 'upstream/master'
put(StringIO.StringIO(""), 'test.txt', use_sudo=True, mode=0600)
Fixed the issue with indentation, updated changelog and added test in integration/.
#936 Issue with sftp put while having use_sudo together with mode
Back on this, changelog entry did not match rest of the changelog in style (sorry) & the test doesn't work at all for me (did you try it?) but I fixed both of those up & will merge into 1.7.x and 1.8.x soon. Thanks again.
Apply fix from #917
Add integration level test proving #917
Thx, for fixing. Will take care about it next time. Thought I tested it.