diff options
author | Matt Wilson <msw@redhat.com> | 1999-08-24 14:38:11 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-08-24 14:38:11 +0000 |
commit | f680ce4f7cab7b2657c0e3fcc32f63b3f704e1e1 (patch) | |
tree | 71dffe7cc22f4dd2946ff0aed591c6f9eafd5d31 /todo.py | |
parent | bf856ea390af1739a6a5c287f9f54f5b93aa047a (diff) | |
download | anaconda-f680ce4f7cab7b2657c0e3fcc32f63b3f704e1e1.tar.gz anaconda-f680ce4f7cab7b2657c0e3fcc32f63b3f704e1e1.tar.xz anaconda-f680ce4f7cab7b2657c0e3fcc32f63b3f704e1e1.zip |
error handling
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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): |