Hello James,

I swear it's real this time. :-)

So I have this code:

        try:
            channel = transport.open_session()
        except Exception, e:
            return str(e)


..and I traced execution of the program in winpdb:


1. before "channel = transport.open_session()" I have transport alive:

transport <paramiko.Transport at 0xB21578CCL (cipher blowfish-cbc, 128 bits) (active; 0 open channel(s))>



2. after "channel = transport.open_session()" transport becomes dead for some reason:

transport <paramiko.Transport at 0xB21578CCL (unconnected)>


FWIW,

channel becomes None after the call.




--

Regards,
mk

--
Premature optimization is the root of all fun.

_______________________________________________
paramiko mailing list
paramiko@lag.net
http://www.lag.net/cgi-bin/mailman/listinfo/paramiko

Reply via email to