From 279ab43bdd837f9f61fce23aec55f15e9ed0b938 Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Mon, 3 Oct 2022 15:00:10 +0000 Subject: [PATCH] scripts: set_assignees: move misplaced log entry The log refers to Platform taking precedence but the loop handles Documentation as well. Move it under the proper section, drop "Drivers" as that is not handle in any special way. Signed-off-by: Fabio Baltieri --- scripts/set_assignees.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/set_assignees.py b/scripts/set_assignees.py index 9649645fe3c..42537737d26 100755 --- a/scripts/set_assignees.py +++ b/scripts/set_assignees.py @@ -101,7 +101,6 @@ def process_pr(gh, maintainer_file, number): maintainer = maintainers[0] if len(ac) > 1 and list(ac.values())[0] == list(ac.values())[1]: - log("++ Platform/Drivers takes precedence over subsystem...") for aa in ac: if 'Documentation' in aa: log("++ With multiple areas of same weight including docs, take something else other than Documentation as the maintainer") @@ -111,6 +110,7 @@ def process_pr(gh, maintainer_file, number): len(maintainers) > 1): maintainer = maintainers[1] elif 'Platform' in aa: + log("++ Platform takes precedence over subsystem...") log(f"Set maintainer of area {aa}") for a in all_areas: if a.name == aa: