From f5889d96dd49f821bcba6d9416451881c6814d92 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Tue, 18 Nov 2014 18:43:35 +0100 Subject: [PATCH] pep8: remove unexpected spaces around "=" in function/method head --- onionshare/onionshare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionshare/onionshare.py b/onionshare/onionshare.py index 6662e980..28744d2c 100644 --- a/onionshare/onionshare.py +++ b/onionshare/onionshare.py @@ -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]: