diff options
author | Mike Fulbright <msf@redhat.com> | 2000-06-29 18:52:18 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2000-06-29 18:52:18 +0000 |
commit | 401d25f26ff867c00a0c6e80a0d31b95dadd05dd (patch) | |
tree | fc24854cdabb5d3ea34e0152a6b20e1e9084a7a4 /fstab.py | |
parent | 20c05bd428b0f6e1229003e8dbf7afd7a79d4aa0 (diff) | |
download | anaconda-401d25f26ff867c00a0c6e80a0d31b95dadd05dd.tar.gz anaconda-401d25f26ff867c00a0c6e80a0d31b95dadd05dd.tar.xz anaconda-401d25f26ff867c00a0c6e80a0d31b95dadd05dd.zip |
fix for bug #12860
Diffstat (limited to 'fstab.py')
-rw-r--r-- | fstab.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -956,7 +956,7 @@ def readFstab (path, fstab): if not fields: continue - if fields[0] == "#" and fields[1][0:4] == "LOOP": + if fields[0] == "#" and len(fields)>4 and fields[1][0:4] == "LOOP": device = string.lower(fields[1]) if device[len(device) - 1] == ":": device = device[0:len(device) - 1] |