fix big brother docstrings and disable_hooks default arg

This commit is contained in:
Kevin Froman 2019-12-19 23:28:12 -06:00
parent 0484655e2e
commit eb294dd9ae
2 changed files with 10 additions and 9 deletions

View file

@ -1,7 +1,6 @@
"""
Onionr - Private P2P Communication
"""Onionr - Private P2P Communication.
Ensure sockets don't get made to non localhost
Ensure sockets don't get made to non localhost
"""
import ipaddress
@ -24,7 +23,8 @@ from onionrexceptions import NetworkLeak
def detect_socket_leaks(socket_event):
"""is called by the big brother broker whenever
"""Is called by the big brother broker whenever.
a socket connection happens.
raises exception & logs if not to loopback
"""