diff options
author | Julian Berman <Julian@GrayVines.com> | 2021-08-18 10:14:43 +0100 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2021-08-18 10:14:43 +0100 |
commit | b2b6801fdc32d21de81b6effb8bb5d74c29a4926 (patch) | |
tree | 604a78bab15e77407bfc993115eeee0c66ef7888 /jsonschema/_legacy_validators.py | |
parent | fd5de14373830187533660edf79dce29503eb41a (diff) | |
download | jsonschema-b2b6801fdc32d21de81b6effb8bb5d74c29a4926.tar.gz |
Remove more unneeded u prefixes.
Diffstat (limited to 'jsonschema/_legacy_validators.py')
-rw-r--r-- | jsonschema/_legacy_validators.py | 4 |
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() |