summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0003_shellrun.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2022-04-27 10:03:02 +0200
committerJose M. Guisado <jguisado@soleta.eu>2022-04-27 10:03:02 +0200
commit3da8100a3b3dd2e826e815d7a03dc63cd223e378 (patch)
tree15e008ce162938ad34d2f44c80e9d42f845a9f02 /tests/units/test_0003_shellrun.py
parentad3d3b2d19c412e648ab77dfc4c80b3a0f160656 (diff)
live: get partition number using partno attribute
Removes a workaround enumaration of the partitions of a given libfdisk context. Use Partition class partno attribute. This enables detecting non contiguous partitions, like: /dev/sda /dev/sda1 /dev/sda2 /dev/sda4
Diffstat (limited to 'tests/units/test_0003_shellrun.py')
0 files changed, 0 insertions, 0 deletions