magic-wormhole/src/wormhole/twisted
Brian Warner 00bb816d11 remove close-on-error from derive_key(), for now
In the twisted-style code, the close_on_error() decorator forces the
return value to be a Deferred, which is all wrong for internal uses of
derive_key() (verification string and confirmation message). It might be
useful to have a synchronous form of close_on_error(), but since the
actual close() is async, that's not very straightforward.

So for now, tolerate unclosed Wormhole objects when someone calls
derive_key() too early, or with a non-unicode type string.
2015-11-19 17:11:27 -08:00
..
__init__.py make twisted/ a real package 2015-06-20 18:55:07 -07:00
demo.py demo.py: make it easier to modify for local testing 2015-10-07 16:31:45 -07:00
eventsource_twisted.py fix EventSource (server and parsers) 2015-10-07 16:31:45 -07:00
transcribe.py remove close-on-error from derive_key(), for now 2015-11-19 17:11:27 -08:00
util.py twisted: split allocate_ports() out to util.py 2015-06-21 21:04:33 -07:00