

def _read_proxy_info(self):
    with open(os.path.join(MainSettings.ROOT, '.proxy_info'), 'r') as proxy_file:
        (raw_host, raw_token) = proxy_file.readlines()
        return ((('http://' + raw_host.strip()) + '/api/routes'), raw_token.strip())

dataset/ETHPy150Open binder-project/binder/binder/cluster.py KubernetesManager._read_proxy_info/original