From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-359663-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QdScD-00073i-PS
	for garchives@archives.gentoo.org; Sun, 03 Jul 2011 19:46:01 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9EEDF21C0C4;
	Sun,  3 Jul 2011 19:45:12 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 72E5921C0B4
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Jul 2011 19:45:07 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id DCD4A2AC175
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Jul 2011 17:15:57 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id 1C5898003D
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Jul 2011 17:15:57 +0000 (UTC)
From: "Wiktor W Brodlo" <wiktor@brodlo.net>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Wiktor W Brodlo" <wiktor@brodlo.net>
Message-ID: <fa53ff0c49ce27ed5e3c243d15e18aaf9af3b6f0.wiktor@gentoo>
Subject: [gentoo-commits] proj/anaconda:master commit in: iw/
X-VCS-Repository: proj/anaconda
X-VCS-Files: iw/mirrorselect_gui.py
X-VCS-Directories: iw/
X-VCS-Committer: wiktor
X-VCS-Committer-Name: Wiktor W Brodlo
X-VCS-Revision: fa53ff0c49ce27ed5e3c243d15e18aaf9af3b6f0
Date: Sun,  3 Jul 2011 17:15:57 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: da38f1eedf4433aa3fde4c7f32e57fb6

commit:     fa53ff0c49ce27ed5e3c243d15e18aaf9af3b6f0
Author:     wiktor w brodlo <wiktor <AT> brodlo <DOT> net>
AuthorDate: Sun Jul  3 17:15:36 2011 +0000
Commit:     Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net>
CommitDate: Sun Jul  3 17:15:36 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/anaconda.git;=
a=3Dcommit;h=3Dfa53ff0c

iw/mirrorselect_gui.py: fixed mirror parsing logic

---
 iw/mirrorselect_gui.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/iw/mirrorselect_gui.py b/iw/mirrorselect_gui.py
index faa99b2..9740164 100644
--- a/iw/mirrorselect_gui.py
+++ b/iw/mirrorselect_gui.py
@@ -73,8 +73,8 @@ class MirrorselectWindow(InstallWindow):
 	def addMirrors(self, table, mirror_list, mirror_data):
 		(regions, countries, mirrors) =3D mirror_list
 		for region in regions:
-			for country in countries:
-				for mirror in mirrors:
+			for country in countries[region]:
+				for mirror in mirrors[country]:
 					self.addMirrorRow(table, region, country, mirror, mirror_data[regio=
n][country][mirror])
 =09
 	def addMirrorRow(self, table, region, country, mirror, data):
@@ -83,7 +83,7 @@ class MirrorselectWindow(InstallWindow):
 		table.resize(rows+1, cols)
 	=09
 		cb =3D gtk.CheckButton(label=3Ddata["url"], use_underline=3DFalse)
-		name =3D gtk.Label("%s: %s\n%n" % (region, country, mirror))
+		name =3D gtk.Label("%s: %s\n%s" % (region, country, mirror))
 	=09
 		flags_text =3D data["proto"]
 		if data["ipv4"] =3D=3D "y":