[PATCH] Allow a proxy to be set before the method is saved
David Shea
dshea at redhat.com
Wed Sep 25 18:52:51 UTC 2013
---
pyanaconda/ui/gui/spokes/source.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index 7bcae6e..8b150c5 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -784,11 +784,11 @@ class SourceSpoke(NormalSpoke):
self._verifyIsoButton.set_sensitive(True)
def on_proxy_clicked(self, button):
- # If this method has no proxy, ignore the click
if not hasattr(self.data.method, "proxy"):
- return
+ old_proxy = None
+ else:
+ old_proxy = self.data.method.proxy
- old_proxy = self.data.method.proxy
dialog = ProxyDialog(self.data)
with enlightbox(self.window, dialog.window):
dialog.refresh()
--
1.8.3.1
More information about the anaconda-patches
mailing list