aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAdam Sampson <ats@offog.org>2018-06-27 14:38:58 +0100
committerSimon Glass <sjg@chromium.org>2018-07-26 14:18:38 -0600
commitb8a48fbca30523ec8d71795bffd2d54ce279f28d (patch)
treea4aafd5a1c2b6fcb51ceea2a4cd87dc83e35d456 /tools
parent38d1ab4a85a96be85c3731fd773594379a1f8359 (diff)
downloadu-boot-b8a48fbca30523ec8d71795bffd2d54ce279f28d.zip
u-boot-b8a48fbca30523ec8d71795bffd2d54ce279f28d.tar.gz
u-boot-b8a48fbca30523ec8d71795bffd2d54ce279f28d.tar.bz2
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/patman/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/settings.py b/tools/patman/settings.py
index 94ea5b5..ca43344 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,