[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/develop] Fix unhandled exception due to _reloadFn() not taking parameters.



commit abaf8ac41a2256e265a767c39e76013d842ebf5f
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Wed Feb 5 22:04:54 2014 +0000

    Fix unhandled exception due to _reloadFn() not taking parameters.
---
 lib/bridgedb/Main.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bridgedb/Main.py b/lib/bridgedb/Main.py
index a46f22f..24a6919 100644
--- a/lib/bridgedb/Main.py
+++ b/lib/bridgedb/Main.py
@@ -325,7 +325,7 @@ def loadProxyList(cfg):
         f.close()
     return ipset
 
-def _reloadFn():
+def _reloadFn(*args):
     """Placeholder callback function for :func:`_handleSIGHUP`."""
     return True
 
@@ -459,7 +459,7 @@ def startup(options):
     state.key = key
     state.save()
 
-    def reload():
+    def reload(*args):
         """Reload settings, proxy lists, and bridges.
 
         State should be saved before calling this method, and will be saved



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits