jw-pkg/src/python/jw
Jan Lindemann f687ded1a6
App.find_dir(): Allow return value None

Allow find_dir() to return None in case it couldn't find a directory, that's a legal outcome. Add a boolean parameter "throw" to support throwing an exception if the existence needs to be asserted.

It would probably be nicer for the type checkers to split this up into a throwing and non-throwing function. Postponed.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-01 20:22:09 +02:00
..
pkg App.find_dir(): Allow return value None 2026-06-01 20:22:09 +02:00
__init__.py jw.pkg: Fix "make check" static code check fallout 2026-05-31 18:20:38 +02:00
Makefile src/python/jw/Makefile: use py-ns-dir.mk 2026-05-31 18:20:34 +02:00