fix big brother docstrings and disable_hooks default arg
This commit is contained in:
		
							parent
							
								
									0484655e2e
								
							
						
					
					
						commit
						eb294dd9ae
					
				
					 2 changed files with 10 additions and 9 deletions
				
			
		|  | @ -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 | ||||
|     """ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue