From: David Lehman dlehman@redhat.com
--- examples/common.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/examples/common.py b/examples/common.py index 110026f..8bbc79b 100644 --- a/examples/common.py +++ b/examples/common.py @@ -1,6 +1,3 @@
def print_devices(b): - for device in sorted(b.devices, key=lambda d: len(d.ancestors)): - print(device) # this is a blivet.devices.StorageDevice instance - - print() + print(b.devicetree)