break, not continue; continue does not refer to parent for loop
This commit is contained in:
parent
f18a61a931
commit
f14f2b2e6b
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class Responses(IMatchResponse):
|
||||||
for i, param in enumerate(self._params):
|
for i, param in enumerate(self._params):
|
||||||
if (i >= len(line.params) or
|
if (i >= len(line.params) or
|
||||||
not param.match(server, line.params[i])):
|
not param.match(server, line.params[i])):
|
||||||
continue
|
break
|
||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue