From b32dc8775246e953b8a24cbf5ccd2e40ec879e94 Mon Sep 17 00:00:00 2001 From: Nathan Date: Mon, 21 Oct 2024 07:54:52 -0600 Subject: [PATCH] Don't show objects as diffable in objdiff if a source file doesn't exist (#40) --- tools/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/project.py b/tools/project.py index b4469fc..fd387ef 100644 --- a/tools/project.py +++ b/tools/project.py @@ -1386,7 +1386,7 @@ def generate_objdiff_config( progress_categories.append(category_opt) unit_config["metadata"].update( { - "complete": obj.completed, + "complete": obj.completed if src_exists else None, "reverse_fn_order": reverse_fn_order, "progress_categories": progress_categories, }