summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-05-02 18:13:08 +0000
committerMatt Wilson <msw@redhat.com>2000-05-02 18:13:08 +0000
commit2c80e2ea683bd6ccf00c986b235a42f38f692fa8 (patch)
treeca884b73693bbd503649d50367d5c20d9e83662a
parentca2eed83216ccbab96ed4ca01f4f763c62db55c4 (diff)
downloadanaconda-2c80e2ea683bd6ccf00c986b235a42f38f692fa8.tar.gz
anaconda-2c80e2ea683bd6ccf00c986b235a42f38f692fa8.tar.xz
anaconda-2c80e2ea683bd6ccf00c986b235a42f38f692fa8.zip
more xfree 4.0 breakage
-rw-r--r--todo.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/todo.py b/todo.py
index 0f8cfd002..6978b1bee 100644
--- a/todo.py
+++ b/todo.py
@@ -487,7 +487,10 @@ class ToDo:
self.selectPackage(n)
if self.x.server and not self.x.server == "XFree86":
- self.selectPackage('XFree86-' + self.x.server)
+ try:
+ self.selectPackage ('XFree86-' + self.x.server[5:])
+ except ValueError, message:
+ log ("Error selecting XFree86 server package: %s", message)
def selectPackage(self, package):
if not self.hdList.packages.has_key(package):