Reworked _safe_uuid() to be it's own function without timeouts.
This commit is contained in:
parent
61bc59f5bf
commit
ee2eba6baf
|
|
@ -160,7 +160,6 @@ class Partition:
|
||||||
|
|
||||||
raise DiskError(f"Could not get PARTUUID for {self.path} using 'lsblk -J -o+PARTUUID {self.path}'")
|
raise DiskError(f"Could not get PARTUUID for {self.path} using 'lsblk -J -o+PARTUUID {self.path}'")
|
||||||
|
|
||||||
@property
|
|
||||||
def _safe_uuid(self):
|
def _safe_uuid(self):
|
||||||
try:
|
try:
|
||||||
return self.uuid
|
return self.uuid
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue