commit 3b92990816c9d8613488b3680dc5a5977555fc94
Author: juga0 <j...@riseup.net>
Date:   Wed Jul 4 07:53:46 2018 +0000

    Remove unused method get_circuit_path
---
 sbws/lib/circuitbuilder.py | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/sbws/lib/circuitbuilder.py b/sbws/lib/circuitbuilder.py
index b8d4db7..b806a9d 100644
--- a/sbws/lib/circuitbuilder.py
+++ b/sbws/lib/circuitbuilder.py
@@ -56,16 +56,6 @@ class CircuitBuilder:
         its (str) ID. If it cannot be built, it should return None. '''
         raise NotImplementedError()
 
-    def get_circuit_path(self, circ_id):
-        c = self.controller
-        try:
-            circ = c.get_circuit(circ_id, default=None)
-        except Exception as e:
-            log.exception("Exception trying to get circuit: %s.", e)
-        else:
-            return [relay[0] for relay in circ.path]
-        return None
-
     def close_circuit(self, circ_id):
         c = self.controller
         try:



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

Reply via email to