[Freeipa-devel] [patch]-pytest-multihost-Return File Attributes to sftp.put

Martin Basti mbasti at redhat.com
Thu Aug 13 12:23:06 UTC 2015



On 08/13/2015 01:55 PM, Niranjan wrote:
> Greetings,
>
> This patch is regarding pytest-multihost plugin.
> Including a patch to return FileAttributes for sftp.put function
> used in the function.
>
> Current put_file function in transport.py in ParamikoTransport Class doesn't
> return any value. So when using this function it's not clear if the operation
> was sucessfull or not.
>
> Returning FileAttributes to put_file function helps in checking if operation
> was indeed succesful.
>
> Requesting feedback on the patch attached.
>
> Regards
> Niranjan
>
>
You mixed tabs and spaces, please use only spaces.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150813/b0ec7cc4/attachment.htm>


More information about the Freeipa-devel mailing list