Browse Source

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>
pull/50935/head
Fabio Baltieri 3 years ago committed by Fabio Baltieri
parent
commit
279ab43bdd
  1. 2
      scripts/set_assignees.py

2
scripts/set_assignees.py

@ -101,7 +101,6 @@ def process_pr(gh, maintainer_file, number): @@ -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): @@ -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:

Loading…
Cancel
Save