Skip to content

Commit 985f32d

Browse files
authored
Solve CI error
1 parent 0de7fb5 commit 985f32d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

jsonschema/validators.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -880,23 +880,23 @@ def store_subschema(self, schema, last_url=None):
880880
881881
last_url:
882882
883-
The last url.
883+
The last URL.
884884
"""
885885
if not isinstance(schema, dict) \
886886
or self.resolution_scope in list_schema:
887887
return
888888

889889
for k in schema.keys():
890890
if k in [u"id", u"$id"] and isinstance(schema[k], str):
891-
#Splicing the url in the last id with the url in this id,
892-
#and store last_url at the same time.
891+
# Splicing the url in the last id with the url in this id,
892+
# and store last_url at the same time.
893893
last_url = urljoin(last_url, schema[k], allow_fragments=True)
894894
url, fragment = urldefrag(last_url)
895895

896-
#Save the schema into self.store[url]
896+
# Save the schema into self.store[url]
897897
self.store[url] = copy.deepcopy(schema)
898898

899-
#Add fragment element in self.store[url]
899+
# Add fragment element in self.store[url]
900900
if fragment:
901901
self.store[url][fragment] = copy.deepcopy(schema)
902902

0 commit comments

Comments
 (0)