summaryrefslogtreecommitdiffstats
path: root/booty
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-02-18 14:58:52 -0500
committerChris Lumens <clumens@redhat.com>2009-03-04 15:37:03 -0500
commitee28d0a243b5099d831aa6079b146f1bcf67deda (patch)
tree7b265da65236f1a0ee9a5880207884c2e3692c4a /booty
parentef779c8ed26c199ec26967696487099e6dbe3820 (diff)
downloadanaconda-ee28d0a243b5099d831aa6079b146f1bcf67deda.tar.gz
anaconda-ee28d0a243b5099d831aa6079b146f1bcf67deda.tar.xz
anaconda-ee28d0a243b5099d831aa6079b146f1bcf67deda.zip
Remove the unused whichBootLoader method.
Diffstat (limited to 'booty')
-rw-r--r--booty/checkbootloader.py14
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."