提交 d1ccaa47 编写于 作者: S Stefan Brüns 提交者: Simon Glass

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: NStefan Brüns <stefan.bruens@rwth-aachen.de>
Reviewed-by: NSimon Glass <sjg@chromium.org>
上级 286ede65
......@@ -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 ]
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册