Skip to content

Commit a5549b0

Browse files
npjohnsonluk1337
authored andcommitted
extract_utils: fix printing of single path as multiple
Change-Id: Id94f97bd939c929311e45496e7fd337bddf94422
1 parent 96275fa commit a5549b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extract_utils/extract.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -462,13 +462,13 @@ def extract_partition(partition: str, dump_dir: str):
462462
if sparse_data_path:
463463
print_file_path(sparse_data_path, 'sparse data')
464464
extract_sparse_data_img(sparse_data_path, dump_dir)
465-
remove_file_paths(sparse_data_path)
465+
remove_file_path(sparse_data_path)
466466

467467
erofs_path = find_erofs_path(partition, dump_dir)
468468
if erofs_path:
469469
print_file_path(erofs_path, 'EROFS')
470470
extract_erofs(erofs_path, dump_dir)
471-
remove_file_paths(erofs_path)
471+
remove_file_path(erofs_path)
472472

473473
ext4_path = find_ext4_path(partition, dump_dir)
474474
if ext4_path:

0 commit comments

Comments
 (0)