diff options
author | Adam Sampson <ats@offog.org> | 2018-06-27 14:38:58 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-07-26 14:18:38 -0600 |
commit | b8a48fbca30523ec8d71795bffd2d54ce279f28d (patch) | |
tree | a4aafd5a1c2b6fcb51ceea2a4cd87dc83e35d456 | |
parent | 38d1ab4a85a96be85c3731fd773594379a1f8359 (diff) |
patman: Split alias entries on arbitrary whitespace
Previously the first three words in a git-mailrc alias entry could only
be separated by spaces. git-send-email and Mutt both allow arbitrary
whitespace here.
Signed-off-by: Adam Sampson <ats@offog.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | tools/patman/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/settings.py b/tools/patman/settings.py index 94ea5b5a1b..ca4334426b 100644 --- a/tools/patman/settings.py +++ b/tools/patman/settings.py @@ -263,7 +263,7 @@ def _ReadAliasFile(fname): line = line.strip() if not line or line.startswith('#'): continue - words = line.split(' ', 2) + words = line.split(None, 2) if len(words) < 3 or words[0] != 'alias': if not bad_line: bad_line = "%s:%d:Invalid line '%s'" % (fname, linenum, |