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 3C1B21381F3 for ; Sat, 13 Jul 2013 09:24:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23E56E0AA2; Sat, 13 Jul 2013 09:24:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A568EE0AA2 for ; Sat, 13 Jul 2013 09:24:23 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 620F033E834 for ; Sat, 13 Jul 2013 09:24:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id CD7FDE468F for ; Sat, 13 Jul 2013 09:24:19 +0000 (UTC) From: "Arfrever Frehtes Taifersar Arahesis" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arfrever Frehtes Taifersar Arahesis" Message-ID: <1373707412.527c61310361463b02340b7ddc376c5d61594104.arfrever@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/__init__.py X-VCS-Directories: pym/portage/ X-VCS-Committer: arfrever X-VCS-Committer-Name: Arfrever Frehtes Taifersar Arahesis X-VCS-Revision: 527c61310361463b02340b7ddc376c5d61594104 X-VCS-Branch: master Date: Sat, 13 Jul 2013 09:24:19 +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: bbae9084-1ceb-46e1-bf0f-9d481ebab5dc X-Archives-Hash: 9e4203cc4e037467e4ccb4c1a81ee5d9 commit: 527c61310361463b02340b7ddc376c5d61594104 Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Sat Jul 13 09:23:32 2013 +0000 Commit: Arfrever Frehtes Taifersar Arahesis gmail com> CommitDate: Sat Jul 13 09:23:32 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=527c6131 Set portage._working_copy bool variable. --- pym/portage/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 85be13e..35bf152 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -386,6 +386,7 @@ except (ImportError, OSError) as e: _python_interpreter = os.path.realpath(sys.executable) _bin_path = PORTAGE_BIN_PATH _pym_path = PORTAGE_PYM_PATH +_working_copy = VERSION == "HEAD" # Api consumers included in portage should set this to True. _internal_caller = False