[master&rhel6-branch] Fix removal of disk identifier prefix in clear disk selector (#560666)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 pyanaconda/iw/cleardisks_gui.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/iw/cleardisks_gui.py b/pyanaconda/iw/cleardisks_gui.py
index 0e71a94..b135be1 100644
--- a/pyanaconda/iw/cleardisks_gui.py
+++ b/pyanaconda/iw/cleardisks_gui.py
@@ -168,7 +168,7 @@ class ClearDisksWindow (InstallWindow):
             else:
                 ident = deviceNameToDiskByPath(d.name)
                 if ident.startswith("/dev/disk/by-path/"):
-                    ident.replace("/dev/disk/by-path/", "")
+                    ident = ident.replace("/dev/disk/by-path/", "")
 
             self.store.append(None, (d,
                                      leftVisible, True, False,
-- 
1.7.0.4


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux