From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 189F1138F61 for ; Mon, 24 Feb 2014 00:53:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6AEEE0A7F; Mon, 24 Feb 2014 00:53:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 36629E0A7F for ; Mon, 24 Feb 2014 00:53:44 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A44833F195 for ; Mon, 24 Feb 2014 00:53:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 9041D188A2 for ; Mon, 24 Feb 2014 00:53:41 +0000 (UTC) From: "Alexander Berntsen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexander Berntsen" Message-ID: <1393203054.099941cc4788f469b30b9ba7222f92fba28e6b28.bernalex@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/dbapi/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/dbapi/bintree.py X-VCS-Directories: pym/portage/dbapi/ X-VCS-Committer: bernalex X-VCS-Committer-Name: Alexander Berntsen X-VCS-Revision: 099941cc4788f469b30b9ba7222f92fba28e6b28 X-VCS-Branch: master Date: Mon, 24 Feb 2014 00:53:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: efe0b342-6d3d-4d9f-9afb-98a56981a79a X-Archives-Hash: f61cfe328913990832e6ddfbaedd2a63 commit: 099941cc4788f469b30b9ba7222f92fba28e6b28 Author: Alexander Berntsen plaimi net> AuthorDate: Mon Feb 24 00:33:43 2014 +0000 Commit: Alexander Berntsen gentoo org> CommitDate: Mon Feb 24 00:50:54 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=099941cc Handle bad PORTAGE_BINHOST gracefully (bug 502288) --- pym/portage/dbapi/bintree.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py index 022300e..7b61c1f 100644 --- a/pym/portage/dbapi/bintree.py +++ b/pym/portage/dbapi/bintree.py @@ -909,6 +909,11 @@ class binarytree(object): traceback.print_exc() raise + except ValueError as _: + writemsg("\n\n!!! Invalid PORTAGE_BINHOST value " + "'%s'.\nSee man make.conf(5) for more info." + "\n" % url.lstrip(), noiselevel=-1) + exit(1) if f is None: