summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2008-03-05 10:47:24 -0500
committerPeter Jones <pjones@pjones2.localdomain>2008-03-05 10:47:24 -0500
commitbe1c08f89a2ce7c1014069fc1569332192370116 (patch)
treedcd3a917fb7c59a4572c2a3ecd00c9acfc0f295f
parent06261306126cb1a49bc06f9ed7223a7284b19ddf (diff)
downloadanaconda-be1c08f89a2ce7c1014069fc1569332192370116.tar.gz
anaconda-be1c08f89a2ce7c1014069fc1569332192370116.tar.xz
anaconda-be1c08f89a2ce7c1014069fc1569332192370116.zip
Fix the case where we're checking for _netdev but options is None (#435998)
-rw-r--r--fsset.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/fsset.py b/fsset.py
index afe9ddb22..0980aa524 100644
--- a/fsset.py
+++ b/fsset.py
@@ -1831,7 +1831,9 @@ MAILADDR root
mountpoint = entry.getMountPoint()
if mountpoint == "/":
- entry.options = entry.options.replace(",_netdev",",_rnetdev")
+ options = entry.getOptions()
+ if options:
+ entry.options = options.replace(",_netdev",",_rnetdev")
if (rhpl.getArch() == 'ia64' \
or (rhpl.getArch() in ("i386", "x86_64") \