Files
build/tools
Tao Bao f3fc62c8a0 releasetools: Fix the error message.
This avoids showing a message as below:

raise BuildImageError("Failed to get tune2fs usage:\n{}".format(output))
UnboundLocalError: local variable 'output' referenced before assignment

The `output` won't be set under such a case, which unfortunately hides
the real cause. This CL addresses the issue by letting it throw
implicitly, which contains the command and outputs.

Test: `m dist`
Test: `python -m unittest test_build_image`
Change-Id: Icf015bab8869d150516246ed73552f6502127cdf
2018-10-25 12:29:44 -07:00
..
2017-10-03 13:53:13 -07:00
2018-10-16 11:50:18 -07:00
2018-04-12 16:41:17 -07:00
2017-10-03 13:53:13 -07:00
2018-10-08 11:19:28 -07:00
2017-10-03 13:53:13 -07:00
2016-09-15 14:40:39 -07:00