summaryrefslogtreecommitdiffstats
path: root/booty/ppc.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/ppc.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/ppc.py')
-rw-r--r--booty/ppc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/booty/ppc.py b/booty/ppc.py
index 23662b91f..5092c104d 100644
--- a/booty/ppc.py
+++ b/booty/ppc.py
@@ -1,6 +1,7 @@
import string
import os
+from booty import BootyNoKernelWarning
from bootloaderInfo import *
import fsset
import iutil
@@ -169,7 +170,7 @@ class ppcBootloaderInfo(bootloaderInfo):
out = self.writeYaboot(instRoot, bl, kernelList,
chainList, defaultDev, justConfig)
else:
- self.noKernelsWarn(intf)
+ raise BootyNoKernelWarning
def __init__(self, storage):
bootloaderInfo.__init__(self, storage)