1 |
commit: fa53ff0c49ce27ed5e3c243d15e18aaf9af3b6f0 |
2 |
Author: wiktor w brodlo <wiktor <AT> brodlo <DOT> net> |
3 |
AuthorDate: Sun Jul 3 17:15:36 2011 +0000 |
4 |
Commit: Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net> |
5 |
CommitDate: Sun Jul 3 17:15:36 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/anaconda.git;a=commit;h=fa53ff0c |
7 |
|
8 |
iw/mirrorselect_gui.py: fixed mirror parsing logic |
9 |
|
10 |
--- |
11 |
iw/mirrorselect_gui.py | 6 +++--- |
12 |
1 files changed, 3 insertions(+), 3 deletions(-) |
13 |
|
14 |
diff --git a/iw/mirrorselect_gui.py b/iw/mirrorselect_gui.py |
15 |
index faa99b2..9740164 100644 |
16 |
--- a/iw/mirrorselect_gui.py |
17 |
+++ b/iw/mirrorselect_gui.py |
18 |
@@ -73,8 +73,8 @@ class MirrorselectWindow(InstallWindow): |
19 |
def addMirrors(self, table, mirror_list, mirror_data): |
20 |
(regions, countries, mirrors) = mirror_list |
21 |
for region in regions: |
22 |
- for country in countries: |
23 |
- for mirror in mirrors: |
24 |
+ for country in countries[region]: |
25 |
+ for mirror in mirrors[country]: |
26 |
self.addMirrorRow(table, region, country, mirror, mirror_data[region][country][mirror]) |
27 |
|
28 |
def addMirrorRow(self, table, region, country, mirror, data): |
29 |
@@ -83,7 +83,7 @@ class MirrorselectWindow(InstallWindow): |
30 |
table.resize(rows+1, cols) |
31 |
|
32 |
cb = gtk.CheckButton(label=data["url"], use_underline=False) |
33 |
- name = gtk.Label("%s: %s\n%n" % (region, country, mirror)) |
34 |
+ name = gtk.Label("%s: %s\n%s" % (region, country, mirror)) |
35 |
|
36 |
flags_text = data["proto"] |
37 |
if data["ipv4"] == "y": |