diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2017-12-31 23:21:17 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-01-21 10:01:02 -0700 |
commit | d1ccaa4760ae33fccad69cdbec4713c78d68a02e (patch) | |
tree | c9e136b6184a3914d5b7afa472b5ffa89cefd3b1 /tools | |
parent | 286ede6515bdde4550c247f0d08ed28c5dbf8db2 (diff) | |
download | u-boot-d1ccaa4760ae33fccad69cdbec4713c78d68a02e.tar.gz |
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 <stefan.bruens@rwth-aachen.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/patman/get_maintainer.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 ] |