[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Call setupBaseAddress after setting the settings
commit 503c8412828725871be129b073c005a10404df6d
Author: Arturo Filastò <arturo@xxxxxxxxxxx>
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,
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits