Skip to content

Commit 279ab43

Browse files
committed
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 <[email protected]>
1 parent d06450b commit 279ab43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/set_assignees.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ def process_pr(gh, maintainer_file, number):
101101
maintainer = maintainers[0]
102102

103103
if len(ac) > 1 and list(ac.values())[0] == list(ac.values())[1]:
104-
log("++ Platform/Drivers takes precedence over subsystem...")
105104
for aa in ac:
106105
if 'Documentation' in aa:
107106
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):
111110
len(maintainers) > 1):
112111
maintainer = maintainers[1]
113112
elif 'Platform' in aa:
113+
log("++ Platform takes precedence over subsystem...")
114114
log(f"Set maintainer of area {aa}")
115115
for a in all_areas:
116116
if a.name == aa:

0 commit comments

Comments
 (0)