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 <fabiobaltieri@google.com>
This commit is contained in:
parent
d06450b055
commit
279ab43bdd
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,6 @@ def process_pr(gh, maintainer_file, number):
|
||||||
maintainer = maintainers[0]
|
maintainer = maintainers[0]
|
||||||
|
|
||||||
if len(ac) > 1 and list(ac.values())[0] == list(ac.values())[1]:
|
if len(ac) > 1 and list(ac.values())[0] == list(ac.values())[1]:
|
||||||
log("++ Platform/Drivers takes precedence over subsystem...")
|
|
||||||
for aa in ac:
|
for aa in ac:
|
||||||
if 'Documentation' in aa:
|
if 'Documentation' in aa:
|
||||||
log("++ With multiple areas of same weight including docs, take something else other than Documentation as the maintainer")
|
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):
|
len(maintainers) > 1):
|
||||||
maintainer = maintainers[1]
|
maintainer = maintainers[1]
|
||||||
elif 'Platform' in aa:
|
elif 'Platform' in aa:
|
||||||
|
log("++ Platform takes precedence over subsystem...")
|
||||||
log(f"Set maintainer of area {aa}")
|
log(f"Set maintainer of area {aa}")
|
||||||
for a in all_areas:
|
for a in all_areas:
|
||||||
if a.name == aa:
|
if a.name == aa:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue