diff options
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() |