cros_bundle_firmware: Use enter/exit instead of del
This change makes use of Python's 'with' construct which is a nicer way to
deal with the finalization problem.
TEST=run cros_bundle_firmware; check that output is still consistent and
output directory is removed.
Reviewed-by: Che-Liang Chiou <firstname.lastname@example.org>
Tested-by: Simon Glass <email@example.com>
3 files changed