From e059f9fa4731b46ccc0575c3e63d957fb05308aa Mon Sep 17 00:00:00 2001 From: shmuel44 Date: Tue, 16 Jul 2024 18:20:39 +0300 Subject: [PATCH] return --- utils/compare_dependency_constraints.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/utils/compare_dependency_constraints.py b/utils/compare_dependency_constraints.py index 0d8cb28bf793c..1fa87fa2f1a0a 100644 --- a/utils/compare_dependency_constraints.py +++ b/utils/compare_dependency_constraints.py @@ -94,11 +94,10 @@ def compare_constraints(images_contained_in_native: list[str]): ) ) - for discrepancy in discrepancies: - print(str(discrepancy)) - # if discrepancies: - # return 1 - # return 0 + for discrepancy in discrepancies: + print(str(discrepancy)) + + return int(bool(discrepancies)) def load_native_image_conf() -> list[str]: