diff options
author | Chris Lumens <clumens@redhat.com> | 2009-03-04 12:24:08 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-03-04 15:37:05 -0500 |
commit | 7f94ffba398ac4e6db7020e94cb5383cc03b8e89 (patch) | |
tree | 3aa6ae3dcf646be97dae8ad7703040acd947bdba /booty/ppc.py | |
parent | 4745aabcc0e3617aab9d734e7b3b160c1348d1f4 (diff) | |
download | anaconda-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.py | 3 |
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) |