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 1QrLt9-0006uI-KD for garchives@archives.gentoo.org; Thu, 11 Aug 2011 03:24:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA83621C052; Thu, 11 Aug 2011 03:24:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9CD1E21C052 for ; Thu, 11 Aug 2011 03:24:38 +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 F0FDC1B4068 for ; Thu, 11 Aug 2011 03:24:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 150DA80040 for ; Thu, 11 Aug 2011 03:24:37 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/config.py X-VCS-Directories: layman/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: e0f12ac23154baf04f4c82146501450103a8b12a Date: Thu, 11 Aug 2011 03:24:37 +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: 9901f49f2d295400fe902200dd2f01e5 commit: e0f12ac23154baf04f4c82146501450103a8b12a Author: dol-sen gmail com> AuthorDate: Tue Aug 9 15:05:32 2011 +0000 Commit: Brian Dolbec gmail com> CommitDate: Tue Aug 9 15:05:32 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/layman.git;a=3D= commit;h=3De0f12ac2 make EPREFIX test code eprefixy proof --- layman/config.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/layman/config.py b/layman/config.py index 1187f78..9d212e2 100644 --- a/layman/config.py +++ b/layman/config.py @@ -61,7 +61,7 @@ def read_layman_config(config=3DNone, defaults=3DNone): EPREFIX =3D "@GENTOO_PORTAGE_EPREFIX@" =20 # check and set it if it wasn't -if EPREFIX =3D=3D "@GENTOO_PORTAGE_EPREFIX@": +if "GENTOO_PORTAGE_EPREFIX" in EPREFIX: EPREFIX =3D '' =20 =20