Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flatmanager: Fix nesting of context managers
appstream_gz and appstream_file are only needed for shutil.copyfileobj so those two are joined together and added in the innermost position while tempfile is kept in the outermost position. Once shutil.copyfileobj is done both innermost handles are closed automaitcally and the outermost handle can access the same resource again
- Loading branch information