The gtk.Entry boxes do not like being passed None. This will pass "" when the proxy username and/or password are empty. Fix returning empty strings from gtk.Entry, convert them back to None --- iw/task_gui.py | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iw/task_gui.py b/iw/task_gui.py index 0a18da8..c68d19c 100644 --- a/iw/task_gui.py +++ b/iw/task_gui.py @@ -200,8 +200,8 @@ class RepoEditor: self.proxyCheckbox.set_active(True) self.proxyTable.set_sensitive(True) self.proxyEntry.set_text(self.repo.proxy) - self.usernameEntry.set_text(self.repo.proxy_username) - self.passwordEntry.set_text(self.repo.proxy_password) + self.usernameEntry.set_text(self.repo.proxy_username or "") + self.passwordEntry.set_text(self.repo.proxy_password or "") else: self.proxyCheckbox.set_active(False) self.proxyTable.set_sensitive(False) @@ -250,8 +250,8 @@ class RepoEditor: return False repo.proxy = proxy - repo.proxy_username = self.usernameEntry.get_text() - repo.proxy_password = self.passwordEntry.get_text() + repo.proxy_username = self.usernameEntry.get_text() or None + repo.proxy_password = self.passwordEntry.get_text() or None repourl = self.baseurlEntry.get_text() repourl.strip() -- 1.6.6.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list