python has not private variables, but pythoner suggest: don't use "_" prefix
variable directly.

at operations.py file, we can see:

414     channel = connections[env.host_string]._transport.open_session()

I am a newer to fabric. I hope to learn it code and use it on I job.

when I reading fabric code, I can't find SSHClient._transport at :
http://www.lag.net/paramiko/docs/ ( until I check SSHClient source code)

so, I hope fabric's code become to friendly.

I suggest to call SSHClient.get_transport() method.

thinks.


-- 
~~~~~~~~~~~~~~~~~~~~~
梁庆喜(jessinio)
Mobile: 18675608050
Email: [email protected]
Gtalk: [email protected]
MSN: [email protected]
Blog: http://blog.jessinio.info
~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
Fab-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to