--- iw/cleardisks_gui.py | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/iw/cleardisks_gui.py b/iw/cleardisks_gui.py index dd720d4..926f613 100644 --- a/iw/cleardisks_gui.py +++ b/iw/cleardisks_gui.py @@ -166,9 +166,12 @@ class ClearDisksWindow (InstallWindow): if hasattr(d, "wwid"): ident = d.wwid else: - ident = deviceNameToDiskByPath(d.name) - if ident.startswith("/dev/disk/by-path/"): - ident = ident.replace("/dev/disk/by-path/", "") + try: + ident = deviceNameToDiskByPath(d.name) + if ident.startswith("/dev/disk/by-path/"): + ident = ident.replace("/dev/disk/by-path/", "") + except DeviceNotFoundError: + ident = d.name self.store.append(None, (d, leftVisible, True, False, -- 1.7.0.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list