Hi Philipp. For kicks and giggles I decided to dig into Exitmap a bit this weekend. Patches are available from...
https://git.torproject.org/user/atagar/exitmap.git
The commits give a pretty good description of the changes but here's a quick summary...
* Changes the codebase to be PEP8 compliant. This was the largest (and most time consuming) change. [1] * Adds a run_tests.py executable that runs pyflakes and pep8 checks. [2] * Uses cookie auth for the tor instance we spawn. * Rewrites the get_exits() function. * Swaps some of the threads we use to be daemons.
All in all nothing terribly impactful.
Cheers! -Damian
[1] https://gitweb.torproject.org/user/atagar/exitmap.git/commitdiff/57e0be3?hp=... [2] https://gitweb.torproject.org/user/atagar/exitmap.git/blob/HEAD:/run_tests.p...