summaryrefslogtreecommitdiff
path: root/jsonschema/_legacy_validators.py
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2021-08-18 10:14:43 +0100
committerJulian Berman <Julian@GrayVines.com>2021-08-18 10:14:43 +0100
commitb2b6801fdc32d21de81b6effb8bb5d74c29a4926 (patch)
tree604a78bab15e77407bfc993115eeee0c66ef7888 /jsonschema/_legacy_validators.py
parentfd5de14373830187533660edf79dce29503eb41a (diff)
downloadjsonschema-b2b6801fdc32d21de81b6effb8bb5d74c29a4926.tar.gz
Remove more unneeded u prefixes.
Diffstat (limited to 'jsonschema/_legacy_validators.py')
-rw-r--r--jsonschema/_legacy_validators.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jsonschema/_legacy_validators.py b/jsonschema/_legacy_validators.py
index 88e7c33..a3b3094 100644
--- a/jsonschema/_legacy_validators.py
+++ b/jsonschema/_legacy_validators.py
@@ -10,9 +10,9 @@ def ignore_ref_siblings(schema):
Suitable for use with `create`'s ``applicable_validators`` argument.
"""
- ref = schema.get(u"$ref")
+ ref = schema.get("$ref")
if ref is not None:
- return [(u"$ref", ref)]
+ return [("$ref", ref)]
else:
return schema.items()