BaseTools/Scripts/GetMaintainer: Fix logic bug collecting maintainers

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4593

Fix logic bug where maintainers is incorrectly added to lists.

Cc: Rebecca Cran <rebecca@bsdio.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Acked-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
This commit is contained in:
Michael D Kinney 2023-11-10 11:30:49 -08:00 committed by mergify[bot]
parent 589f2e49e5
commit 431ead235f
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ def get_section_maintainers(path, section):
if isinstance(address, list):
maintainers += address
else:
lists += [address]
maintainers += [address]
for address in section['list']:
# Convert to list if necessary
if isinstance(address, list):