For translate, we have a translate.py script (what BpyBuild actually works with) and a bunch of subscripts in translate_scripts, which perform individual actions. However, the pre_build function in translate.py didn't return the results of those subscripts. So when build_pot.py returns an error, that error wasn't propogated, so BpyBuild wouldn't know there was an error.
This fixes the issue noted in https://github.com/Moo-Ack-Productions/bpy-build/issues/14, which actually isn't a BpyBuild issue, but rather an issue with our
translate
action.For
translate
, we have atranslate.py
script (what BpyBuild actually works with) and a bunch of subscripts intranslate_scripts
, which perform individual actions. However, thepre_build
function intranslate.py
didn't return the results of those subscripts. So whenbuild_pot.py
returns an error, that error wasn't propogated, so BpyBuild wouldn't know there was an error.Closes https://github.com/Moo-Ack-Productions/bpy-build/issues/14