From d15a489e4e11686ef7df04c567cf927c99ce088f Mon Sep 17 00:00:00 2001 From: Jefferyyen Date: Tue, 26 Nov 2024 16:44:26 +0800 Subject: [PATCH] Update usb_read_write.py Correct the blank line --- checkbox-support/checkbox_support/scripts/usb_read_write.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/checkbox-support/checkbox_support/scripts/usb_read_write.py b/checkbox-support/checkbox_support/scripts/usb_read_write.py index 0f2a4988c5..3aa2aa4cc0 100644 --- a/checkbox-support/checkbox_support/scripts/usb_read_write.py +++ b/checkbox-support/checkbox_support/scripts/usb_read_write.py @@ -170,12 +170,12 @@ def mount_usb_storage(partition): # Unmounting the folder ignoring any "not mounted" error messages. subprocess.call(["umount", FOLDER_TO_MOUNT], stderr=subprocess.PIPE) - + # Unmounting the device (e.g., "/dev/mmcblk0p1") to ensure the storage # device is fully detached. This prevents issues with certain # filesystem types like NTFS, which cannot be mounted multiple times. subprocess.call(["umount", device_to_mount], stderr=subprocess.PIPE) - + # mount the target device/partition # if the return code of the shell command is non-zero, # means something wrong.