]> git.baikalelectronics.ru Git - uboot.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)
commita350b63973441804523d19ab7dc41821487b1258
tree3ac651b3fe43549839de928cb8f40b2199d0821d
parent7efd6c1d5776b6d421ca69c61ef47d482bc00933
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: aa1c2fae (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