[Twisted-Python] Conch - Why does one piece of code "fail" while another works
Donald Stufft
donald at stufft.io
Wed Oct 2 07:31:18 MDT 2013
On Oct 2, 2013, at 9:20 AM, exarkun at twistedmatrix.com wrote:
> On 01:21 am, donald at stufft.io wrote:
>> I have two pieces of code (see: https://gist.github.com/dstufft/9dc9978dc0af77e82f0c) one "works" (in that it fails verifying the host key like i'd expect) and one doesn't ("it never tries to verify the host key and just exists immediately).
>>
>> I don't understand *why* though, why does the connectionReady dance make it work?
>
> Where's the second piece of code?
>
> Jean-Paul
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Both are in the gist, works.py and fails.py
-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20131002/39c1bcdf/attachment.pgp>
More information about the Twisted-Python
mailing list