From: Stefan Brüns Date: Sun, 31 Dec 2017 22:21:17 +0000 (+0100) Subject: patman: Unquote output from get_maintainer.pl X-Git-Tag: v2025.01-rc5-pxa1908~5078^2~11 X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%24image.RelPermalink%20%7D%7D?a=commitdiff_plain;h=d1ccaa4760ae33fccad69cdbec4713c78d68a02e;p=u-boot.git patman: Unquote output from get_maintainer.pl get_maintainer.pl quotes names which it considers unsafe, i.e. anything containing [^a-zA-Z0-9_ \-]. This confuses patman, it will duplicate addresses which are also in Series-to/cc. Strip the quotes. Signed-off-by: Stefan Brüns Reviewed-by: Simon Glass --- diff --git a/tools/patman/get_maintainer.py b/tools/patman/get_maintainer.py index 2deb5db6ec..22b091808a 100644 --- a/tools/patman/get_maintainer.py +++ b/tools/patman/get_maintainer.py @@ -44,4 +44,5 @@ def GetMaintainer(fname, verbose=False): return [] stdout = command.Output(get_maintainer, '--norolestats', fname) - return stdout.splitlines() + lines = stdout.splitlines() + return [ x.replace('"', '') for x in lines ]