()
| 2476 | conf.proxyList.append("%s://%s:%s" % (type_ or "http", address, port)) |
| 2477 | |
| 2478 | def _setTorProxySettings(): |
| 2479 | if not conf.tor: |
| 2480 | return |
| 2481 | |
| 2482 | if conf.torType == PROXY_TYPE.HTTP: |
| 2483 | _setTorHttpProxySettings() |
| 2484 | else: |
| 2485 | _setTorSocksProxySettings() |
| 2486 | |
| 2487 | def _setTorHttpProxySettings(): |
| 2488 | infoMsg = "setting Tor HTTP proxy settings" |
no test coverage detected
searching dependent graphs…