(self)
| 26 | |
| 27 | class PorxyApplyingDecorator(object): |
| 28 | def __init__(self): |
| 29 | filename = os.getcwd() + "/" + "ipList.txt" |
| 30 | with open(filename, "r") as f: |
| 31 | ipdata = f.read() |
| 32 | self._IP = random.choice(ipdata.split(",")) |
| 33 | |
| 34 | def __call__(self, function_to_call_for_appling_proxy): |
| 35 | SOCKS5_PROXY_HOST = self._IP |
nothing calls this directly
no outgoing calls
no test coverage detected