diff options
author | Chris Lumens <clumens@redhat.com> | 2009-02-18 14:46:49 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-03-04 15:37:03 -0500 |
commit | a4a5af7094e7a1aa74028295ef85bd23ac19eaac (patch) | |
tree | b96c81142fcdc1314c6712e10a551fd3703c5094 /booty | |
parent | 8e7bd7e0351034f608c859e51e39a0f57cc05136 (diff) | |
download | anaconda-a4a5af7094e7a1aa74028295ef85bd23ac19eaac.tar.gz anaconda-a4a5af7094e7a1aa74028295ef85bd23ac19eaac.tar.xz anaconda-a4a5af7094e7a1aa74028295ef85bd23ac19eaac.zip |
Remove the unused needsEnterpriseKernel method.
Diffstat (limited to 'booty')
-rw-r--r-- | booty/lilo.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/booty/lilo.py b/booty/lilo.py index 5f667e557..dc2328e63 100644 --- a/booty/lilo.py +++ b/booty/lilo.py @@ -51,24 +51,6 @@ class UserDictCase(UserDict): def dict(self): return self.data - -def needsEnterpriseKernel(): - rc = 0 - - try: - f = open("/proc/e820info", "r") - except IOError: - return 0 - for l in f.readlines(): - l = string.split(l) - if l[3] == '(reserved)': continue - - regionEnd = (string.atol(l[0], 16) - 1) + string.atol(l[2], 16) - if regionEnd > 0xffffffffL: - rc = 1 - - return rc - class LiloConfigFile: """class representing a lilo.conf lilo configuration file. Used to manipulate the file directly""" |