[tor-commits] [ooni-probe/master] Call setupBaseAddress after setting the settings

art at torproject.org art at torproject.org
Mon Sep 19 12:14:24 UTC 2016


commit 503c8412828725871be129b073c005a10404df6d
Author: Arturo Filastò <arturo at filasto.net>
Date:   Tue Jun 21 18:00:41 2016 +0200

    Call setupBaseAddress after setting the settings
    
    This makes it possible to re-instantiate a BackendClient from the settings
---
 ooni/backend_client.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ooni/backend_client.py b/ooni/backend_client.py
index 1039124..506aba4 100644
--- a/ooni/backend_client.py
+++ b/ooni/backend_client.py
@@ -42,7 +42,6 @@ class OONIBClient(object):
             self.backend_type = guess_backend_type(self.base_address)
         self.backend_type = self.backend_type.encode('ascii')
 
-        self._setupBaseAddress()
         self.settings = {
             'type': self.backend_type,
             'address': self.base_address,





More information about the tor-commits mailing list