]> git.dujemihanovic.xyz Git - u-boot.git/commit
patman: Fix error when the email blacklist is missing
authorSimon Glass <sjg@chromium.org>
Wed, 13 Sep 2017 02:30:28 +0000 (20:30 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 14 Sep 2017 01:32:13 +0000 (19:32 -0600)
commitad8931400b193f701a415e7f69f1ad454d1b0380
tree3ac651b3fe43549839de928cb8f40b2199d0821d
parentba39608147c797cffb266579b5791649f0f8e60c
patman: Fix error when the email blacklist is missing

This section of the settings file may be missing. Handle that gracefully
rather than emitting an error.

Also update patman to write this section when a new settings file is
created.

Fixes: e11aa602 (patman: add support for omitting bouncing addresses)
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Chris Packham <judge.pckham@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
tools/patman/settings.py