diff options
author | Rod Smith <rod.smith@canonical.com> | 2020-06-18 14:06:11 -0400 |
---|---|---|
committer | Rod Smith <rod.smith@canonical.com> | 2020-06-18 14:06:11 -0400 |
commit | a6446c913ccaff14040e8c591344420f69916f71 (patch) | |
tree | 2790bbc748a2207dcfdb7eef0f49f4c674787953 | |
parent | 7e47168f1c277cb688224f5ce13f4adf5c525180 (diff) |
Modify import & call to Disk library in fstrim_test script, per jocave's comment
-rwxr-xr-x | bin/fstrim_test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/fstrim_test b/bin/fstrim_test index 94556059..c6f1881b 100755 --- a/bin/fstrim_test +++ b/bin/fstrim_test @@ -37,14 +37,14 @@ from subprocess import ( PIPE, Popen ) -import checkbox_support.disk_support +from checkbox_support.disk_support import Disk def mount_filesystem(device): if "/dev" not in device and device != "": device = "/dev/" + device - test_disk = checkbox_support.disk_support.Disk(device) + test_disk = Disk(device) mount_point = None if test_disk.mount_filesystem(False): mount_point = test_disk.get_mount_point() |