[tor-commits] [arm/master] Missing default for get_circuits() call

atagar at torproject.org atagar at torproject.org
Sun Sep 14 00:27:05 UTC 2014


commit b38dcb63e2e2616138e1d7e0a4c37dee1e8c88a5
Author: Damian Johnson <atagar at torproject.org>
Date:   Sat Sep 13 17:21:52 2014 -0700

    Missing default for get_circuits() call
    
    Exception raised when quitting...
    
    Exception in thread Thread-4:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
        self.run()
      File "/home/atagar/Desktop/arm/arm/connections/conn_panel.py", line 348, in run
        self._update()             # populates initial entries
      File "/home/atagar/Desktop/arm/arm/connections/conn_panel.py", line 563, in _update
        if new_conn_line.get_type() != conn_entry.Category.CIRCUIT:
      File "/home/atagar/Desktop/arm/arm/connections/conn_entry.py", line 487, in get_type
        my_circuits = controller.get_circuits()
      File "/usr/lib/python2.7/stem/control.py", line 2287, in get_circuits
        raise exc
    SocketClosed
---
 arm/connections/conn_entry.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arm/connections/conn_entry.py b/arm/connections/conn_entry.py
index f3ea97a..98b3dca 100644
--- a/arm/connections/conn_entry.py
+++ b/arm/connections/conn_entry.py
@@ -484,7 +484,7 @@ class ConnectionLine(entries.ConnectionPanelLine):
           # a possible client or directory connection then check if it still
           # holds true.
 
-          my_circuits = controller.get_circuits()
+          my_circuits = controller.get_circuits([])
 
           if self._possible_client:
             # Checks that this belongs to the first hop in a circuit that's





More information about the tor-commits mailing list