[rhel6-branch 1/1] TypeError: argument must be string (#1209414)
jkonecny12
installerbot-noreply at redhat.com
Fri May 15 13:46:16 UTC 2015
From: Jiri Konecny <jkonecny at redhat.com>
We tried to show exception object instead of string.
Now the exception is changed to string.
Resolves: rhbz#1209414
---
partIntfHelpers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/partIntfHelpers.py b/partIntfHelpers.py
index d01cd72..f866bdd 100644
--- a/partIntfHelpers.py
+++ b/partIntfHelpers.py
@@ -513,7 +513,7 @@ def drive_iscsi_addition(anaconda, wizard):
except (network.IPMissing, network.IPError) as msg:
log.info("addIscsiDrive() cancelled due to an invalid IP address.")
- anaconda.intf.messageWindow(_("iSCSI Error"), msg)
+ anaconda.intf.messageWindow(_("iSCSI Error"), str(msg))
if step != STEP_DISCOVERY:
break
except (ValueError, IOError) as e:
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/6da54e9a086d12acfd492024b2edf15c335bc514
More information about the anaconda-patches
mailing list