Pre-commit stylistic fix
parent
e735b537c7
commit
82148aa1ac
|
@ -600,7 +600,7 @@ class ReferenceProperty(Property):
|
||||||
# not. No good way to do that at present... just check if
|
# not. No good way to do that at present... just check if
|
||||||
# unregistered and for the "x-" type prefix, for now?
|
# unregistered and for the "x-" type prefix, for now?
|
||||||
has_custom = not is_object(obj_type, self.spec_version) \
|
has_custom = not is_object(obj_type, self.spec_version) \
|
||||||
or obj_type.startswith("x-")
|
or obj_type.startswith("x-")
|
||||||
|
|
||||||
if not allow_custom and has_custom:
|
if not allow_custom and has_custom:
|
||||||
raise CustomContentError(
|
raise CustomContentError(
|
||||||
|
|
Loading…
Reference in New Issue