Skip to content

Commit

Permalink
BaseTools/Scripts/GetMaintainer: Fix logic bug collecting maintainers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mdkinney authored and mergify[bot] committed Nov 11, 2023
1 parent 589f2e4 commit 431ead2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BaseTools/Scripts/GetMaintainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 431ead2

Please sign in to comment.