summaryrefslogtreecommitdiffstats
path: root/fstab.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-05-05 20:22:11 +0000
committerErik Troan <ewt@redhat.com>2000-05-05 20:22:11 +0000
commit17a701fe7834064248c7e5b8728ceea448c4b6ba (patch)
tree6296612f321399e385c8986fbb75675e0f107b82 /fstab.py
parent93012868d17c85c679e37251cffa0c2c70dae673 (diff)
downloadanaconda-17a701fe7834064248c7e5b8728ceea448c4b6ba.tar.gz
anaconda-17a701fe7834064248c7e5b8728ceea448c4b6ba.tar.xz
anaconda-17a701fe7834064248c7e5b8728ceea448c4b6ba.zip
use symbolc names for balkan partition types
Diffstat (limited to 'fstab.py')
-rw-r--r--fstab.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/fstab.py b/fstab.py
index 0f2bcb405..f411370fd 100644
--- a/fstab.py
+++ b/fstab.py
@@ -399,8 +399,7 @@ class Fstab:
skipList.index(dev)
except ValueError, msg:
(type, sector, size) = table[i]
- # 2 is ext2 in balkan speek
- if type == 2:
+ if type == _balkan.DOS:
label = isys.readExt2Label(dev)
if label:
labels[dev] = label