Commit 7c97424
committed
extract_utils: Fix extraction of "empty" partitions
* Any device with an LP entry in super for an empty partition
(e.g. as Moto commonly does) currently errors out after
I5c6c2f94e0557442b686ddf418559e44787f8177 (extract_utils: do not
use ProcessPoolExecutor() for IO-bound tasks).
* The failure was previously masked by ProcessPoolExecutor silently
swallowing unretireved Future exceptions.
* Just try/except and print a warning instead.
Change-Id: I790db409e35bf11cb94673013fad58e1feab29f61 parent 409b495 commit 7c97424
1 file changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
492 | 495 | | |
493 | 496 | | |
494 | 497 | | |
| |||
0 commit comments