diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-06-24 14:58:50 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-06-24 14:58:50 +0000 |
commit | 74a7f5735e1e8fe15ee2d69cd26e4c49ce5adcec (patch) | |
tree | 70adf55c474e88df961d45d9ef43e100f9e6004a /partitions.py | |
parent | 11b3a54aae118bbd9bce8a0b0241bc8194c5e18d (diff) | |
download | anaconda-74a7f5735e1e8fe15ee2d69cd26e4c49ce5adcec.tar.gz anaconda-74a7f5735e1e8fe15ee2d69cd26e4c49ce5adcec.tar.xz anaconda-74a7f5735e1e8fe15ee2d69cd26e4c49ce5adcec.zip |
merge
Diffstat (limited to 'partitions.py')
-rw-r--r-- | partitions.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/partitions.py b/partitions.py index f145faae6..7ac4ade65 100644 --- a/partitions.py +++ b/partitions.py @@ -634,7 +634,10 @@ class Partitions: if iutil.getArch() == "ia64": bootreq = self.getRequestByMountPoint("/boot/efi") - return [ bootreq ] + if bootreq: + return [ bootreq ] + else: + return None elif iutil.getPPCMachine() == "iSeries": for req in self.requests: if req.fstype == fsset.fileSystemTypeGet("PPC PReP Boot"): @@ -675,8 +678,10 @@ class Partitions: bootreq = self.getRequestByMountPoint("/boot") if not bootreq: bootreq = self.getRequestByMountPoint("/") - - return [ bootreq ] + + if bootreq: + return [ bootreq ] + return None def getBootableMountpoints(self): """Return a list of bootable valid mountpoints for this arch.""" |