summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-08-24 14:38:11 +0000
committerMatt Wilson <msw@redhat.com>1999-08-24 14:38:11 +0000
commitf680ce4f7cab7b2657c0e3fcc32f63b3f704e1e1 (patch)
tree71dffe7cc22f4dd2946ff0aed591c6f9eafd5d31 /todo.py
parentbf856ea390af1739a6a5c287f9f54f5b93aa047a (diff)
downloadanaconda-f680ce4f7cab7b2657c0e3fcc32f63b3f704e1e1.tar.gz
anaconda-f680ce4f7cab7b2657c0e3fcc32f63b3f704e1e1.tar.xz
anaconda-f680ce4f7cab7b2657c0e3fcc32f63b3f704e1e1.zip
error handling
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/todo.py b/todo.py
index d789a8fb3..f9bcd5b08 100644
--- a/todo.py
+++ b/todo.py
@@ -438,7 +438,10 @@ class ToDo:
os.mkdir (self.instPath + mntpoint)
except:
pass
- isys.mount( '/tmp/' + device, self.instPath + mntpoint)
+ try:
+ isys.mount( '/tmp/' + device, self.instPath + mntpoint)
+ except SystemError, (errno, msg):
+ self.intf.messageWindow("Error", "Error mounting %s directory %s: %s" % (device, msg))
os.remove( '/tmp/' + device);
def makeFilesystems(self):