Skip to content

Commit b07df19

Browse files
committed
Fixed python2-specific iteritems call.
1 parent d38ba57 commit b07df19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dynatademand/validator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, ):
4848
'query': {},
4949
'body': {},
5050
}
51-
for endpoint_name, schemas in ENDPOINTS.iteritems():
51+
for endpoint_name, schemas in ENDPOINTS.items():
5252
for schema in schemas:
5353
with open('dynatademand/schemas/request/{}/{}.json'.format(schema, endpoint_name), 'r') as schema_file:
5454
self.schemas[schema][endpoint_name] = json.load(schema_file)

0 commit comments

Comments
 (0)