[Pkg-anonymity-tools] [onionshare] 21/57: pep8: remove unexpected spaces around "=" in function/method head

Ulrike Uhlig u-guest at moszumanska.debian.org
Tue May 19 18:18:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to annotated tag 0.7
in repository onionshare.

commit f5889d96dd49f821bcba6d9416451881c6814d92
Author: Thomas Waldmann <tw at waldmann-edv.de>
Date:   Tue Nov 18 18:43:35 2014 +0100

    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 6662e98..28744d2 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]:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/onionshare.git



More information about the Pkg-anonymity-tools mailing list