break, not continue; continue does not refer to parent for loop

This commit is contained in:
jesopo 2020-04-21 21:05:41 +01:00
parent f18a61a931
commit f14f2b2e6b

View file

@ -25,7 +25,7 @@ class Responses(IMatchResponse):
for i, param in enumerate(self._params):
if (i >= len(line.params) or
not param.match(server, line.params[i])):
continue
break
else:
return True
else: