Files
Rodolfo García Peñas (kix) b03c5659fc utils/distro_utils: simplify return logic in get_os_sslcertfile_searchpath
This patch simplifies the return logic in the get_os_sslcertfile_searchpath function by removing the unnecessary try-finally block and directly checking the length of the location list after attempting to append hardcoded paths. If no valid paths are found, it returns None. Previously, using a finally with a return is a bug because it can mask exceptions and lead to unexpected behavior. This change makes the code cleaner and more straightforward.
2026-05-17 11:51:47 +02:00
..
2020-11-01 08:22:44 +01:00
2020-11-01 08:21:24 +01:00