diff options
author | Jeremy Katz <katzj@redhat.com> | 2008-06-23 11:25:54 -0400 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2008-06-23 11:25:54 -0400 |
commit | 74399a3bbba4716eaa178b258af9e0e82dec6d97 (patch) | |
tree | 47deedef73a2dd51325cf0b14bd61ea60cbaba69 /installclass.py | |
parent | 215683cedac4d0aa4164044df9e6c94819df2e62 (diff) | |
download | anaconda-74399a3bbba4716eaa178b258af9e0e82dec6d97.tar.gz anaconda-74399a3bbba4716eaa178b258af9e0e82dec6d97.tar.xz anaconda-74399a3bbba4716eaa178b258af9e0e82dec6d97.zip |
Don't continue on using the base installclass if we can't find one
This avoids the problem of our imports failing due to typos and then
getting weird behavior non-obviously later
Diffstat (limited to 'installclass.py')
-rw-r--r-- | installclass.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/installclass.py b/installclass.py index ef1b26252..0127e7130 100644 --- a/installclass.py +++ b/installclass.py @@ -329,8 +329,7 @@ def getBaseInstallClass(): # Default to the base installclass if nothing else is found. else: - cobject = BaseInstallClass - log.info("using baseinstallclass as base") + raise RuntimeError, "Unable to find an install class to use!!!" return cobject |