Merge branch 'blender-v4.2-release'

This commit is contained in:
Campbell Barton
2024-06-06 17:44:17 +10:00
2 changed files with 2 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ PY_FILES_MYPY=$(filter-out \
./bl_extension_ops.py \
./bl_extension_ui.py \
./bl_extension_utils.py \
./extensions_map_from_legacy_addons.py \
./wheel_manager.py \
./example_extension/__init__.py \
./example_extension/foo.py \

View File

@@ -1510,9 +1510,7 @@ def pkg_manifest_is_valid_or_error_impl(
# When the default value is None, skip all type checks.
if not (is_default_value and x_val is None):
if x_ty is None:
pass
elif isinstance(x_val, x_ty):
if isinstance(x_val, x_ty):
pass
else:
error_list.append("\"{:s}\" must be a {:s}, not a {:s}".format(