Skip to content

Commit 9d75634

Browse files
authored
Update cookiejar.py
1 parent 1034647 commit 9d75634

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Lib/http/cookiejar.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,11 +1080,6 @@ def set_ok_port(self, cookie, request):
10801080
else:
10811081
req_port = str(req_port)
10821082
for p in cookie.port.split(","):
1083-
try:
1084-
int(p)
1085-
except ValueError:
1086-
_debug(" bad port %s (not numeric)", p)
1087-
return False
10881083
if p == req_port:
10891084
break
10901085
else:

0 commit comments

Comments
 (0)