summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-02-14 14:58:38 +0000
committerMatt Wilson <msw@redhat.com>2000-02-14 14:58:38 +0000
commite6b473693da71bd43b581c444610c6174de45ec3 (patch)
tree4df6177eadaecaf5921679355ec7551f5df6a499 /installclass.py
parent17e94e023f3286883cc50a54c7b8e58e632e1e0c (diff)
downloadanaconda-e6b473693da71bd43b581c444610c6174de45ec3.tar.gz
anaconda-e6b473693da71bd43b581c444610c6174de45ec3.tar.xz
anaconda-e6b473693da71bd43b581c444610c6174de45ec3.zip
fixed lilo None type check
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/installclass.py b/installclass.py
index 5eb5e0d01..d2f2bbdbc 100644
--- a/installclass.py
+++ b/installclass.py
@@ -24,7 +24,7 @@ class InstallClass:
def setLiloInformation(self, location, linear = 1, appendLine = None):
# this throws an exception if there is a problem
- ["mbr", "partition", "none"].index(location)
+ ["mbr", "partition", None].index(location)
self.lilo = (location, linear, appendLine)