mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-29 01:06:16 -05:00
pep8: remove unexpected spaces around "=" in function/method head
This commit is contained in:
parent
152bc32ba7
commit
f5889d96dd
@ -225,7 +225,7 @@ def tails_root():
|
||||
# close hole in firewall on shutdown
|
||||
import signal
|
||||
|
||||
def handler(signum = None, frame = None):
|
||||
def handler(signum=None, frame=None):
|
||||
subprocess.call(['/sbin/iptables', '-D', 'OUTPUT', '-o', 'lo', '-p', 'tcp', '--dport', str(port), '-j', 'ACCEPT'])
|
||||
sys.exit()
|
||||
for sig in [signal.SIGTERM, signal.SIGINT, signal.SIGHUP, signal.SIGQUIT]:
|
||||
|
Loading…
Reference in New Issue
Block a user