summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2010-02-16 11:46:50 -0500
committerChris Lumens <clumens@redhat.com>2010-02-16 11:46:50 -0500
commit0621419bffcef2c0efcffb9badb7c1b5e507a920 (patch)
tree8f14e04c451aee45f7854578430d2b331c34a4b5 /storage
parent239692cef67bbc5dc4d497af7bbc0a25c1886368 (diff)
downloadanaconda-0621419bffcef2c0efcffb9badb7c1b5e507a920.tar.gz
anaconda-0621419bffcef2c0efcffb9badb7c1b5e507a920.tar.xz
anaconda-0621419bffcef2c0efcffb9badb7c1b5e507a920.zip
Require a format to have a mountpoint before testing for RO (#565879).
Otherwise, we traceback trying to mount /mnt/sysimage/None or something stupid like that.
Diffstat (limited to 'storage')
-rw-r--r--storage/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/__init__.py b/storage/__init__.py
index e23e82641..4e3bbf752 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1734,6 +1734,7 @@ class FSSet(object):
space = []
for device in self.devices:
if not device.format.mountable or \
+ not device.format.mountpoint or \
not device.format.status:
continue