--- textw/add_drive_text.py | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/textw/add_drive_text.py b/textw/add_drive_text.py index e690475..0fbd86c 100644 --- a/textw/add_drive_text.py +++ b/textw/add_drive_text.py @@ -71,11 +71,10 @@ class addDriveDialog(object): devnum = entries[0].strip() wwpn = entries[1].strip() fcplun = entries[2].strip() - try: - storage.zfcp.ZFCP().addFCP(devnum, wwpn, fcplun) - except ValueError, e: - log.warn(str(e)) # alternatively popup error dialog instead - + + # This may throw a value error, which gets handled by addDriveDialog() + storage.zfcp.ZFCP().addFCP(devnum, wwpn, fcplun) + return INSTALL_OK def addFcoeDriveDialog(self, screen): -- 1.7.0.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list