Adding in debugging
This commit is contained in:
parent
5809953440
commit
15e569d0bd
|
|
@ -165,6 +165,11 @@ class Filesystem:
|
||||||
new_uuid_set = (previous_partition_uuids ^ {partition.uuid for partition in self.blockdevice.partitions.values()})
|
new_uuid_set = (previous_partition_uuids ^ {partition.uuid for partition in self.blockdevice.partitions.values()})
|
||||||
if len(new_uuid_set) > 0:
|
if len(new_uuid_set) > 0:
|
||||||
new_uuid = new_uuid_set.pop()
|
new_uuid = new_uuid_set.pop()
|
||||||
|
print('Blockdevice:', self.blockdevice)
|
||||||
|
print('Partitions:', self.blockdevice.partitions)
|
||||||
|
print('Partition set:', new_uuid_set)
|
||||||
|
print('New UUID:', [new_uuid])
|
||||||
|
print('get_partition():', self.blockdevice.get_partition)
|
||||||
if new_uuid:
|
if new_uuid:
|
||||||
return self.blockdevice.get_partition(new_uuid)
|
return self.blockdevice.get_partition(new_uuid)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue