def get_server_proxy(self, url, timeout=None): return ServerProxy( url, SubZeroRequestsTransport(use_https=self.use_ssl, timeout=timeout or self.timeout, user_agent=os.environ.get( "SZ_USER_AGENT", "Sub-Zero/2")))
def get_server_proxy(self, url, timeout=None): return ServerProxy(url, SubZeroRequestsTransport(use_https=self.use_ssl, timeout=timeout or self.timeout, user_agent="Bazarr/1"))