summaryrefslogtreecommitdiffstats
path: root/booty/ia64.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/ia64.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/ia64.py')
-rw-r--r--booty/ia64.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/booty/ia64.py b/booty/ia64.py
index 2dcee97c0..013545fe6 100644
--- a/booty/ia64.py
+++ b/booty/ia64.py
@@ -1,3 +1,4 @@
+from booty import BootyNoKernelWarning
from bootloaderInfo import *
class ia64BootloaderInfo(efiBootloaderInfo):
@@ -25,7 +26,7 @@ class ia64BootloaderInfo(efiBootloaderInfo):
out = self.writeLilo(instRoot, bl, kernelList,
chainList, defaultDev, justConfig)
else:
- self.noKernelsWarn(intf)
+ raise BootyNoKernelWarning
self.removeOldEfiEntries(instRoot)
self.addNewEfiEntry(instRoot)