Change the DiskFormat Factory to be a context manager.
All code using DiskFormat was updated to the following
with statement:
with DiskFormat(...).new as disk_format:
disk_format.some_member()
This is related to Issue #2412
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base_test.py | ||
| image_info_test.py | ||
| image_resize_test.py | ||
| result_bundle_test.py | ||
| result_list_test.py | ||
| system_build_test.py | ||
| system_create_test.py | ||
| system_prepare_test.py | ||
| system_update_test.py | ||