summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
Diffstat (limited to 'rescue.py')
-rw-r--r--rescue.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/rescue.py b/rescue.py
index 63a879a85..0c771c17b 100644
--- a/rescue.py
+++ b/rescue.py
@@ -310,12 +310,7 @@ def runRescue(anaconda):
scroll = 0
partList = []
- for (drive, fs, relstr) in disks:
- try:
- label = isys.readFSLabel(drive, makeDevNode=0)
- except:
- label = None
-
+ for (drive, fs, relstr, label) in disks:
if label:
partList.append("%s (%s)" % (drive, label))
else: