diff options
author | Matt Wilson <msw@redhat.com> | 2000-02-22 00:16:57 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-02-22 00:16:57 +0000 |
commit | 8b2d6a89b0c8896496779cda77f78750f691c7e9 (patch) | |
tree | e573f0c523d38ee64ed71a60bc601f91037dca43 /milo.py | |
parent | 1b672ed7ba28628648e7f22c359b3bc30f0f6b89 (diff) | |
download | anaconda-8b2d6a89b0c8896496779cda77f78750f691c7e9.tar.gz anaconda-8b2d6a89b0c8896496779cda77f78750f691c7e9.tar.xz anaconda-8b2d6a89b0c8896496779cda77f78750f691c7e9.zip |
make these less generic
Diffstat (limited to 'milo.py')
-rw-r--r-- | milo.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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") |