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 ) id 1QuvW1-0007Ei-6R for garchives@archives.gentoo.org; Sun, 21 Aug 2011 00:03:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCC0E21C0F8; Sun, 21 Aug 2011 00:03:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A9F3D21C0F8 for ; Sun, 21 Aug 2011 00:03:26 +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 24D921B4052 for ; Sun, 21 Aug 2011 00:03:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 11D2D80044 for ; Sun, 21 Aug 2011 00:03:25 +0000 (UTC) From: "Wiktor W Brodlo" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Wiktor W Brodlo" Message-ID: Subject: [gentoo-commits] proj/anaconda:master commit in: gentoo/ X-VCS-Repository: proj/anaconda X-VCS-Files: gentoo/__init__.py X-VCS-Directories: gentoo/ X-VCS-Committer: wiktor X-VCS-Committer-Name: Wiktor W Brodlo X-VCS-Revision: e033c81cdb58b23208289631f5b27df89ce64a69 Date: Sun, 21 Aug 2011 00:03:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: cbcb7c2bffa90537759a41769ddb709e commit: e033c81cdb58b23208289631f5b27df89ce64a69 Author: wiktor w brodlo brodlo net> AuthorDate: Sun Aug 21 00:03:11 2011 +0000 Commit: Wiktor W Brodlo brodlo net> CommitDate: Sun Aug 21 00:03:11 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/anaconda.git;= a=3Dcommit;h=3De033c81c gentoo/__init__.py: fall back to webrsync --- gentoo/__init__.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/gentoo/__init__.py b/gentoo/__init__.py index e01844b..a0cbeec 100644 --- a/gentoo/__init__.py +++ b/gentoo/__init__.py @@ -33,7 +33,9 @@ class Portage: def sync(self): self.term.run_command("chroot "+self.root+" emerge --sync") if self.term.get_child_exit_status() !=3D 0: - return False + self.term.run_command("chroot "+self.root+" emerge-webrsync") + if self.term.get_child_exit_status() !=3D 0: + return False self.term.run_command("chroot "+self.root+" emerge --update portage") if self.term.get_child_exit_status() =3D=3D 0: return True