fab-user
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Fab-user] private variable
From
:
jessinio liang
Subject
:
[Fab-user] private variable
Date
:
Sat, 31 Jul 2010 23:08:06 +0800
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:
address@hidden
Gtalk:
address@hidden
MSN:
address@hidden
Blog:
http://blog.jessinio.info
~~~~~~~~~~~~~~~~~~~~~
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Fab-user] private variable
,
jessinio liang
<=
Re: [Fab-user] private variable
,
Morgan Goose
,
2010/07/31
Re: [Fab-user] private variable
,
jessinio liang
,
2010/07/31
Re: [Fab-user] private variable
,
Jeff Forcier
,
2010/07/31
Prev by Date:
[Fab-user] Getting some changes into the mainline of Fabric
Next by Date:
Re: [Fab-user] private variable
Previous by thread:
[Fab-user] Getting some changes into the mainline of Fabric
Next by thread:
Re: [Fab-user] private variable
Index(es):
Date
Thread