`startwith` -> `startswith`

This commit is contained in:
jesopo 2019-02-22 18:06:08 +00:00 committed by Valentin Lorentz
parent 61d9596d35
commit e7b076aa44
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ class Servers(registry.SpaceSeparatedListOfStrings):
(server, port) = s.rsplit(':', 1)
# support for `[ipv6]:port` format
if server.startwith("[") and server.endswith("]"):
if server.startswith("[") and server.endswith("]"):
server = server[1:-1]
port = int(port)