Fixed some more silliness in properties.py... was it a rebase

glitch?  Something else I overlooked?  Not sure.
pull/1/head
Michael Chisholm 2021-03-31 16:49:14 -04:00
parent 6f60bed235
commit c8b9eab53d
1 changed files with 5 additions and 6 deletions

View File

@ -757,12 +757,11 @@ class ObservableProperty(Property):
has_custom = True
if not allow_custom and has_custom:
if parsed_obj.has_custom:
raise CustomContentError(
"customized {} observable found".format(
parsed_obj["type"],
),
)
raise CustomContentError(
"customized {} observable found".format(
parsed_obj["type"],
),
)
dictified[key] = parsed_obj