Skip to content

Commit 634d3f3

Browse files
committed
freebsd-universe: Fix type of explicit_subdirs_only
Iteration over it is governed by a truthy check so the use of False rather than [] was harmless, but some typecheckers don't have enough flow-sensitive analysis to know that, and this abuse of types was not intended, so just make it more sensible. Fixes: 085f75f ("cheribsd: Overhaul freebsd-univere and add cheribsd-universe")
1 parent 562398d commit 634d3f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pycheribuild/projects/cross/cheribsd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ def setup_config_options(
858858
cls.build_lib32 = False
859859

860860
if cls.universe_target:
861-
cls.explicit_subdirs_only = False
861+
cls.explicit_subdirs_only = []
862862
return
863863

864864
cls.explicit_subdirs_only = cls.add_list_option(

0 commit comments

Comments
 (0)