diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2022-04-27 10:03:02 +0200 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2022-04-27 10:03:02 +0200 |
commit | 3da8100a3b3dd2e826e815d7a03dc63cd223e378 (patch) | |
tree | 15e008ce162938ad34d2f44c80e9d42f845a9f02 /tests/units/__init__.py | |
parent | ad3d3b2d19c412e648ab77dfc4c80b3a0f160656 (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/__init__.py')
0 files changed, 0 insertions, 0 deletions