Skip to content

Commit ff1cb6d

Browse files
committed
Minor tweak of local variables.
1 parent 5a05f6f commit ff1cb6d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jsonschema/validators.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,7 @@ def iter_errors(self, instance, _schema=None):
184184
if scope:
185185
self.resolver.push_scope(scope)
186186
try:
187-
validators = applicable_validators(_schema)
188-
for k, v in validators:
187+
for k, v in applicable_validators(_schema):
189188
validator = self.VALIDATORS.get(k)
190189
if validator is None:
191190
continue

0 commit comments

Comments
 (0)