commit 553f4a8fa35a35b686c27a808671b0c1f0f76807 Author: juga0 juga@riseup.net Date: Wed Dec 16 15:27:55 2020 +0000
fix: stem: Remove unused code --- sbws/util/stem.py | 7 ------- 1 file changed, 7 deletions(-)
diff --git a/sbws/util/stem.py b/sbws/util/stem.py index d2c596f..746fa88 100644 --- a/sbws/util/stem.py +++ b/sbws/util/stem.py @@ -80,13 +80,6 @@ def init_controller(port=None, path=None, set_custom_stream_settings=True): if not c: return None, 'Unable to reach tor on control socket' assert c is not None - if set_custom_stream_settings: - # These options are also set in launch_tor. - # In a future refactor they could be set in the case they are not - # already in the running instance. This way the controller_port - # could also be used. - set_torrc_options_can_fail(c) - set_torrc_runtime_options(c) return c, ''
tor-commits@lists.torproject.org