Extensions: fix flipped check for manifest keys

The values of the manifest weren't being validated since [0].

[0]: 8b3047987f
This commit is contained in:
Campbell Barton
2024-03-13 23:26:14 +11:00
parent e033009c40
commit 84d467e38a

View File

@ -839,7 +839,7 @@ def pkg_manifest_is_valid_or_error_impl(
continue
# When the default value is None, skip all type checks.
if is_default_value and x_val is None:
if not (is_default_value and x_val is None):
if x_ty is None:
pass
elif isinstance(x_val, x_ty):