Fix syntax error in get_servers except block
This commit is contained in:
parent
20e5d12a5c
commit
2fa2b96b82
|
@ -1436,7 +1436,7 @@ def shell():
|
||||||
speedtest.get_servers(servers)
|
speedtest.get_servers(servers)
|
||||||
except NoMatchedServers:
|
except NoMatchedServers:
|
||||||
raise SpeedtestCLIError('No matched servers: %s' % args.server)
|
raise SpeedtestCLIError('No matched servers: %s' % args.server)
|
||||||
except (ServersRetrievalError, HTTP_ERRORS):
|
except (ServersRetrievalError,) + HTTP_ERRORS:
|
||||||
print_('Cannot retrieve speedtest server list')
|
print_('Cannot retrieve speedtest server list')
|
||||||
raise SpeedtestCLIError(get_exception())
|
raise SpeedtestCLIError(get_exception())
|
||||||
except InvalidServerIDType:
|
except InvalidServerIDType:
|
||||||
|
|
Loading…
Reference in New Issue