Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix LP Bug#885696 two issues with checked_iter
The error message raised by IOError needed %locals() added If there is no cache in the pipeline image_meta['size'] appears to be of type str on my system. Thus the compare of expected_size and bytes_written always failed even when the values should have matched. Unconditionally convert expected_size to int to resolve this. Curiously image_meta['size'] is of type int if the cache is in the pipeline. This latter fix could be removed if the typing is resolved Change-Id: I05eadce2b5ceb8eb7939acb41668aff089270e21
- Loading branch information