[blivet:master 05/13] Remove minimumSector method and _minimumSector attribute

mulhern amulhern at redhat.com
Fri Apr 25 12:54:24 UTC 2014


minimumSector is unused and does not work properly as a property.

Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/platform.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/blivet/platform.py b/blivet/platform.py
index 00dd80e..5315132 100644
--- a/blivet/platform.py
+++ b/blivet/platform.py
@@ -37,7 +37,6 @@ class Platform(object):
        during installation.  The intent is to eventually encapsulate all the
        architecture quirks in one place to avoid lots of platform checks
        throughout anaconda."""
-    _minimumSector = 0
     _packages = []
 
     # requirements for bootloader stage1 devices
@@ -122,11 +121,6 @@ class Platform(object):
         return labelType
 
     @property
-    def minimumSector(self, disk):
-        """Return the minimum starting sector for the provided disk."""
-        return self._minimumSector
-
-    @property
     def packages (self):
         _packages = self._packages
         if flags.boot_cmdline.get('fips', None) == '1':
-- 
1.8.3.1



More information about the anaconda-patches mailing list