commit | 65c7b520969948f1faaedf1979f5dcdc83902699 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Apr 25 21:58:33 2019 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Wed May 08 12:44:07 2019 +0800 |
tree | 07beb595fc1e22bf20df62cf89dd2c2b7be9c5ed | |
parent | 7321e8340970f6b4bf4764b8c1790ca7fad75094 [diff] |
binman: Don't generate an error in 'text' entry constructor It is not good practice to raise an exception in a constructor. In this case the 'text' entry may not actually be used, if -i is used to filter out the images that get built. Move the exception to where the data is actually used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>