diff options
author | Steffen Maier <maier@linux.vnet.ibm.com> | 2009-07-10 10:19:40 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-07-10 13:50:16 -1000 |
commit | f13f934cc9a8898b996731fbb950048ba3fbbc6d (patch) | |
tree | 877a6c338b58e9feaccfba4b432cf3bd32f78b98 /textw | |
parent | 7ba27add65625961717a473f6a5c01bb7baf00d6 (diff) | |
download | anaconda-f13f934cc9a8898b996731fbb950048ba3fbbc6d.tar.gz anaconda-f13f934cc9a8898b996731fbb950048ba3fbbc6d.tar.xz anaconda-f13f934cc9a8898b996731fbb950048ba3fbbc6d.zip |
error messages of zFCP on s390: log or pass to the UI
Diffstat (limited to 'textw')
-rw-r--r-- | textw/partition_text.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py index f14a273d6..412a7d75e 100644 --- a/textw/partition_text.py +++ b/textw/partition_text.py @@ -211,7 +211,10 @@ class PartitionTypeWindow: devnum = entries[0].strip() wwpn = entries[1].strip() fcplun = entries[2].strip() - self.anaconda.id.storage.zfcp.addFCP(devnum, wwpn, fcplun) + try: + self.anaconda.id.storage.zfcp.addFCP(devnum, wwpn, fcplun) + except ValueError, e: + log.warn(str(e)) # alternatively popup error dialog instead return INSTALL_OK |