diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-21 17:12:35 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-04 23:18:18 +0000 |
commit | aad85050d7ff1ef293cae786103ba06f78cc505a (patch) | |
tree | 0a633d8a92c15c57d0a517de20b2ca43aa34e4be /scripts/lib/wic/utils | |
parent | ee860b3bf5117ef4b01530d336dd9c4e0d7b5550 (diff) | |
download | poky-aad85050d7ff1ef293cae786103ba06f78cc505a.tar.gz |
wic: raise WicError instead of calling logger.error
Replaced forgotten calls of logger.error with raising
WicError exception. Otherwise errors will be ignored.
(From OE-Core rev: 7a5156092699593903a4bedb4cb23cc6e42ea62e)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/utils')
-rw-r--r-- | scripts/lib/wic/utils/misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/utils/misc.py b/scripts/lib/wic/utils/misc.py index 216ab7b6ce..c941112c63 100644 --- a/scripts/lib/wic/utils/misc.py +++ b/scripts/lib/wic/utils/misc.py | |||
@@ -136,7 +136,7 @@ def exec_native_cmd(cmd_and_args, native_sysroot, catch=3, pseudo=""): | |||
136 | else: | 136 | else: |
137 | msg += "Wic failed to find a recipe to build native %s. Please "\ | 137 | msg += "Wic failed to find a recipe to build native %s. Please "\ |
138 | "file a bug against wic.\n" % prog | 138 | "file a bug against wic.\n" % prog |
139 | logger.error(msg) | 139 | raise WicError(msg) |
140 | 140 | ||
141 | return ret, out | 141 | return ret, out |
142 | 142 | ||