diff options
author | Chris Lumens <clumens@redhat.com> | 2009-02-18 14:58:52 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-03-04 15:37:03 -0500 |
commit | ee28d0a243b5099d831aa6079b146f1bcf67deda (patch) | |
tree | 7b265da65236f1a0ee9a5880207884c2e3692c4a /booty | |
parent | ef779c8ed26c199ec26967696487099e6dbe3820 (diff) | |
download | anaconda-ee28d0a243b5099d831aa6079b146f1bcf67deda.tar.gz anaconda-ee28d0a243b5099d831aa6079b146f1bcf67deda.tar.xz anaconda-ee28d0a243b5099d831aa6079b146f1bcf67deda.zip |
Remove the unused whichBootLoader method.
Diffstat (limited to 'booty')
-rw-r--r-- | booty/checkbootloader.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/booty/checkbootloader.py b/booty/checkbootloader.py index aa0ccd0ba..68cb8e13f 100644 --- a/booty/checkbootloader.py +++ b/booty/checkbootloader.py @@ -206,17 +206,3 @@ def getBootloaderTypeAndBoot(instRoot = "/"): return ("SILO", bootDev) return (None, None) - -def whichBootLoader(instRoot = "/"): - ret = getBootloaderTypeAndBoot(instRoot) - if not ret: - return None - else: - return ret[0] - -if __name__ == "__main__": - bootloader = whichBootLoader() - if bootloader: - print "Found %s." % (bootloader) - else: - print "Unable to determine boot loader." |