pep8: remove unexpected spaces around "=" in function/method head

This commit is contained in:
Thomas Waldmann 2014-11-18 18:43:35 +01:00
parent 152bc32ba7
commit f5889d96dd

View File

@ -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]: