summaryrefslogtreecommitdiffstats
path: root/booty/x86.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-03-04 12:24:08 -0500
committerChris Lumens <clumens@redhat.com>2009-03-04 15:37:05 -0500
commit7f94ffba398ac4e6db7020e94cb5383cc03b8e89 (patch)
tree3aa6ae3dcf646be97dae8ad7703040acd947bdba /booty/x86.py
parent4745aabcc0e3617aab9d734e7b3b160c1348d1f4 (diff)
downloadanaconda-7f94ffba398ac4e6db7020e94cb5383cc03b8e89.tar.gz
anaconda-7f94ffba398ac4e6db7020e94cb5383cc03b8e89.tar.xz
anaconda-7f94ffba398ac4e6db7020e94cb5383cc03b8e89.zip
Move BootyNoKernelWarning into __init__.py and use it.
Also, this gets rid of the goofy self.noKernelsWarn method which doesn't serve any useful purpose now that booty's part of anaconda.
Diffstat (limited to 'booty/x86.py')
-rw-r--r--booty/x86.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/booty/x86.py b/booty/x86.py
index 8bb77579f..2ef765fed 100644
--- a/booty/x86.py
+++ b/booty/x86.py
@@ -1,6 +1,7 @@
import os
import string
+from booty import BootyNoKernelWarning
from bootloaderInfo import *
import checkbootloader
import fsset
@@ -528,7 +529,7 @@ class x86BootloaderInfo(efiBootloaderInfo):
return
if len(kernelList) < 1:
- self.noKernelsWarn(intf)
+ raise BootyNoKernelWarning
out = self.writeGrub(instRoot, bl, kernelList,
chainList, defaultDev,