Improve the code a bit.
* Make better use of exceptions instead of relying on retvals. * If Tor asks us for a transport we don't support, we now send back an {S,C}METHOD-ERROR.
Showing
- pyptlib/client.py 25 additions, 24 deletionspyptlib/client.py
- pyptlib/client_config.py 21 additions, 21 deletionspyptlib/client_config.py
- pyptlib/config.py 20 additions, 28 deletionspyptlib/config.py
- pyptlib/server.py 32 additions, 20 deletionspyptlib/server.py
- pyptlib/server_config.py 51 additions, 28 deletionspyptlib/server_config.py
Please register or sign in to comment