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 1QuwiG-0007sU-S2 for garchives@archives.gentoo.org; Sun, 21 Aug 2011 01:20:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1139821C14A; Sun, 21 Aug 2011 01:20:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D291321C14A for ; Sun, 21 Aug 2011 01:20:25 +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 4E7271B401B for ; Sun, 21 Aug 2011 01:20:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 5E67680040 for ; Sun, 21 Aug 2011 01:20:24 +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: eb0cf09355a308c68c8199eb5ab8d7c9a33bbfda Date: Sun, 21 Aug 2011 01:20:24 +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: b883bd2ea7be03bb21fe87a34abc586d commit: eb0cf09355a308c68c8199eb5ab8d7c9a33bbfda Author: wiktor w brodlo brodlo net> AuthorDate: Sun Aug 21 01:20:29 2011 +0000 Commit: Wiktor W Brodlo brodlo net> CommitDate: Sun Aug 21 01:20:29 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/anaconda.git;= a=3Dcommit;h=3Deb0cf093 gentoo/__init__.py: try webrsync harder --- gentoo/__init__.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gentoo/__init__.py b/gentoo/__init__.py index a0cbeec..603aa82 100644 --- a/gentoo/__init__.py +++ b/gentoo/__init__.py @@ -32,7 +32,7 @@ class Portage: # Syncs the Portage tree and updates Portage if an update is available def sync(self): self.term.run_command("chroot "+self.root+" emerge --sync") - if self.term.get_child_exit_status() !=3D 0: + if not os.path_exists(self.root+"/usr/portage/metadata/timestamp"): self.term.run_command("chroot "+self.root+" emerge-webrsync") if self.term.get_child_exit_status() !=3D 0: return False