obfsproxy crashes in pyptlib when TOR_PT_CLIENT_TRANSPORTS=*
With obfsproxy 870c01d8 (0.2.9) and pyptlib c3be729b (0.0.6).
obfsproxy/bin$ TOR_PT_CLIENT_TRANSPORTS='*' TOR_PT_STATE_LOCATION= TOR_PT_MANAGED_TRANSPORT_VER=1 ./obfsproxy managed
VERSION 1
Traceback (most recent call last):
File "./obfsproxy", line 16, in <module>
run()
File "../obfsproxy/pyobfsproxy.py", line 202, in run
pyobfsproxy()
File "../obfsproxy/pyobfsproxy.py", line 174, in pyobfsproxy
do_managed_mode()
File "../obfsproxy/pyobfsproxy.py", line 78, in do_managed_mode
managed_client.do_managed_client()
File "../obfsproxy/managed/client.py", line 26, in do_managed_client
ptclient.init(transports.transports.keys())
File "../../pyptlib/pyptlib/core.py", line 48, in init
self._declareSupports(supported_transports)
File "../../pyptlib/pyptlib/core.py", line 85, in _declareSupports
wanted_transports = transports.keys()
AttributeError: 'list' object has no attribute 'keys'