summaryrefslogtreecommitdiffstats
path: root/pyanaconda/platform.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2011-04-18 14:11:06 -0500
committerDavid Lehman <dlehman@redhat.com>2011-05-02 16:10:30 -0500
commitb3019c02f7be5e596aadd8d9c22e48ab62fc69e6 (patch)
tree1f56f48abc7c865a2b6c0e7c28ea4aeb04dde9ea /pyanaconda/platform.py
parent3aba4576d8bc36052ff217d989df1fa9caf4ec1b (diff)
downloadanaconda-b3019c02f7be5e596aadd8d9c22e48ab62fc69e6.tar.gz
anaconda-b3019c02f7be5e596aadd8d9c22e48ab62fc69e6.tar.xz
anaconda-b3019c02f7be5e596aadd8d9c22e48ab62fc69e6.zip
Remove unused Platform.validBootLoaderPartSize method.
Diffstat (limited to 'pyanaconda/platform.py')
-rw-r--r--pyanaconda/platform.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/pyanaconda/platform.py b/pyanaconda/platform.py
index 5fdb73da5..e28c680c1 100644
--- a/pyanaconda/platform.py
+++ b/pyanaconda/platform.py
@@ -174,17 +174,6 @@ class Platform(object):
return [PartSpec(mountpoint="/boot", fstype=self.defaultBootFSType, size=500,
weight=self.weight(mountpoint="/boot"))]
- def validBootLoaderPartSize(self, size):
- """ Is the given size (in MB) acceptable for a bootloader device? """
- if not isinstance(size, int) and not isinstance(size, float):
- return False
-
- return ((self.bootloader.stage1_device_min_size is None or
- size >= self.bootloader.stage1_device_min_size)
- and
- (self.bootloader.stage1_device_max_size is None or
- size <= self.bootloader.stage1_device_max_size))
-
def weight(self, fstype=None, mountpoint=None):
""" Given an fstype (as a string) or a mountpoint, return an integer
for the base sorting weight. This is used to modify the sort