You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fabric depends on Paramiko > 1.7. In all the 1.7 releases of Paramiko the suggested way of accessing the transport is the use of get_transport() instead of _transport. The main benefit is being able to interchangeably use Channels or SSHClients as generic 'client' objects.
From what I see there are 2 occurrences of _transport in the code and both are in operations.py. Incidentally again this would increase freedom to implement extensions to Fabric since it wouldn't rely on a specific private interface but on a public interface that Paramiko uses across multiple objects.
Originally submitted by Anonymous () on 2009-07-27 at 04:13pm EDT
Closed as Done on 2011-03-16 at 02:53pm EDT
The text was updated successfully, but these errors were encountered:
The lines that were patched aren't being used the same way in the 1.0 release. The new interactivity feature doesn't have the line or call anymore that was needing to be updated. Figured 0.9.5 still might, as it's using a non-remade get().
Line change in Erich's commit:
def get(remote_path, local_path):
...
- channel = connections[env.host_string]._transport.open_session()
+ channel = connections[env.host_string].get_transport().open_session()
Description
Fabric depends on Paramiko > 1.7. In all the 1.7 releases of Paramiko the suggested way of accessing the transport is the use of
get_transport()
instead of_transport
. The main benefit is being able to interchangeably use Channels or SSHClients as generic 'client' objects.From what I see there are 2 occurrences of
_transport
in the code and both are in operations.py. Incidentally again this would increase freedom to implement extensions to Fabric since it wouldn't rely on a specific private interface but on a public interface that Paramiko uses across multiple objects.Originally submitted by Anonymous () on 2009-07-27 at 04:13pm EDT
Closed as Done on 2011-03-16 at 02:53pm EDT
The text was updated successfully, but these errors were encountered: