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 1P1fTH-0005Er-LQ for garchives@archives.gentoo.org; Fri, 01 Oct 2010 13:16:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1E15E09E0; Fri, 1 Oct 2010 13:16:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0A198E09D5 for ; Fri, 1 Oct 2010 13:16:06 +0000 (UTC) Received: from [192.168.1.4] (ppp91-76-140-199.pppoe.mtu-net.ru [91.76.140.199]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPSA id 444F764DF9; Fri, 1 Oct 2010 13:16:02 +0000 (UTC) Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-libs/libproxy: ChangeLog libproxy-0.4.6.ebuild From: Peter Volkov To: gentoo-dev@lists.gentoo.org, pacho@gentoo.org In-Reply-To: <20100929204311.4D54A20051@flycatcher.gentoo.org> References: <20100929204311.4D54A20051@flycatcher.gentoo.org> Content-Type: text/plain; charset="UTF-8" Date: Fri, 01 Oct 2010 17:15:56 +0400 Message-ID: <1285938956.5868.246.camel@tablet> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 82f32ad1-9100-4a0b-9077-e839930df265 X-Archives-Hash: ea4859018af885541894b1704488b7a0 =D0=92 =D0=A1=D1=80=D0=B4, 29/09/2010 =D0=B2 20:43 +0000, Pacho Ramos (pa= cho) =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > pkg_setup() { > if use python; then > python_set_active_version 2 > fi It's much shorter and clearer to write use python && python_set_active_version 2 --=20 Peter.