summaryrefslogtreecommitdiffstats
path: root/milo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-02-22 00:16:57 +0000
committerMatt Wilson <msw@redhat.com>2000-02-22 00:16:57 +0000
commit8b2d6a89b0c8896496779cda77f78750f691c7e9 (patch)
treee573f0c523d38ee64ed71a60bc601f91037dca43 /milo.py
parent1b672ed7ba28628648e7f22c359b3bc30f0f6b89 (diff)
downloadanaconda-8b2d6a89b0c8896496779cda77f78750f691c7e9.tar.gz
anaconda-8b2d6a89b0c8896496779cda77f78750f691c7e9.tar.xz
anaconda-8b2d6a89b0c8896496779cda77f78750f691c7e9.zip
make these less generic
Diffstat (limited to 'milo.py')
-rw-r--r--milo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/milo.py b/milo.py
index 88f2bf5e5..3f4e0346b 100644
--- a/milo.py
+++ b/milo.py
@@ -49,7 +49,7 @@ class MiloInstall:
# XXX stat /etc/aboot.conf and do the right thing
try:
os.remove(self.todo.instPath + "/etc/aboot.conf")
- except:
+ except OSError:
pass
os.symlink("../boot/etc/aboot.conf",
self.todo.instPath + "/etc/aboot.conf")
@@ -102,7 +102,7 @@ class MiloInstall:
kernelroot = '/'
try:
os.remove(self.todo.instPath + "/etc/milo.conf")
- except:
+ except OSError:
pass
os.symlink("../boot/milo.conf",
self.todo.instPath + "/etc/milo.conf")