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 | ||
| archive_test.py | ||
| container_test.py | ||
| disk_test.py | ||
| filesystem_test.py | ||
| init_test.py | ||
| install_test.py | ||
| kis_test.py | ||
| live_test.py | ||