One other comment. Since you've added the 'clean' functionality to this code, you could probably make the socket notifier portion faster if you move "import re" to the clean function, that way it isn't imported if we aren't cleaning the leases.
« Back to merge proposal
One other comment. Since you've added the 'clean' functionality to this code, you could probably make the socket notifier portion faster if you move "import re" to the clean function, that way it isn't imported if we aren't cleaning the leases.