<html><head></head><body><div>On Thu, 2015-10-15 at 19:15 -0700, Christopher Larson wrote:</div><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 15, 2015 at 10:27 AM, Benjamin Esquivel <span dir="ltr"><<a href="mailto:benjamin.esquivel@linux.intel.com" target="_blank">benjamin.esquivel@linux.intel.com</a>></span> wrote:<br><blockquote type="cite"><div id=":1fa" class="a3s" style="overflow:hidden">+ def movefile(self, sourcefile, destdir):<br>
+ try:<br>
+ # FIXME: this check of movefile's return code to None should be<br>
+ # fixed within the function to use only exceptions to signal when<br>
+ # something goes wrong<br>
+ if (bb.utils.movefile(sourcefile, destdir) == None):<br>
+ raise Exception("moving {} to {} failed".format(<br>
+ sourcefile, destdir))<br>
+ except Exception as e:<br>
+ bb.warn(str(e))<br>
+ bb.error("unable to place {} in final SDK location".format(<br>
+ sourcefile))<br>
+<br>
+ def mkdirhier(self, dirpath):<br>
+ try:<br>
+ bb.utils.mkdirhier(dirpath)<br>
+ except OSError as e:<br>
+ bb.warn(str(e))<br>
+ bb.error("cannot make dir for SDK: {}".format(dirpath))</div><br></blockquote></div><br>Shouldn't this be fatal?<br></div></div></blockquote><div>correct, will change to fatal. Thanks.</div></body></html>