diff options
author | Chris Lumens <clumens@redhat.com> | 2013-02-08 16:41:54 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2013-02-11 11:25:05 -0500 |
commit | ae9e2239712eefcda683bc625343697085d53152 (patch) | |
tree | a3af4b1659c71d8df74c95c6581609b99ee5ea09 /pyanaconda/ui | |
parent | c4736b84bd2d6a5c01eb8112ae71501e11354343 (diff) | |
download | anaconda-ae9e2239712eefcda683bc625343697085d53152.tar.gz anaconda-ae9e2239712eefcda683bc625343697085d53152.tar.xz anaconda-ae9e2239712eefcda683bc625343697085d53152.zip |
Bring back the askmethod parameter (#889887).
We've got this shiny new method selection UI but if you want to use it, you've
first got to sit through the delay of fetching metadata for the closest mirror
which might be completely wrong for you. Thus, this parameter will skip the
default action. Entering and leaving the source spoke will unset this
parameter.
Diffstat (limited to 'pyanaconda/ui')
-rw-r--r-- | pyanaconda/ui/gui/spokes/source.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py index 87ebb898e..5751ca0ff 100644 --- a/pyanaconda/ui/gui/spokes/source.py +++ b/pyanaconda/ui/gui/spokes/source.py @@ -439,6 +439,11 @@ class SourceSpoke(NormalSpoke): def apply(self): import copy + # If askmethod was provided on the command line, entering the source + # spoke wipes that out. + if flags.askmethod: + flags.askmethod = False + old_source = copy.copy(self.data.method) if self._autodetectButton.get_active(): |