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 1SSx10-0005Lp-5R for garchives@archives.gentoo.org; Fri, 11 May 2012 21:04:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3629EE074E; Fri, 11 May 2012 21:04:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0B6A5E074E for ; Fri, 11 May 2012 21:04:30 +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 4820F1B4051 for ; Fri, 11 May 2012 21:04:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 106DAE542D for ; Fri, 11 May 2012 21:04:29 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1336770255.d31e55509111490d44de60c579e12473ad52a447.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/package/ebuild/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/package/ebuild/config.py X-VCS-Directories: pym/portage/package/ebuild/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: d31e55509111490d44de60c579e12473ad52a447 X-VCS-Branch: master Date: Fri, 11 May 2012 21:04:29 +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: f3029206-4f24-48b4-af63-0d028d3181c2 X-Archives-Hash: 7da291abd24a28507a864864270e4ece commit: d31e55509111490d44de60c579e12473ad52a447 Author: Zac Medico gentoo org> AuthorDate: Fri May 11 21:04:15 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Fri May 11 21:04:15 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Dd31e5550 config: use shlex to split known_repos --- pym/portage/package/ebuild/config.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/e= build/config.py index 32d6536..0cd35a8 100644 --- a/pym/portage/package/ebuild/config.py +++ b/pym/portage/package/ebuild/config.py @@ -1,4 +1,4 @@ -# Copyright 2010-2011 Gentoo Foundation +# Copyright 2010-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 =20 __all__ =3D [ @@ -406,8 +406,8 @@ class config(object): =20 known_repos =3D [] for confs in [make_globals, make_conf, self.configdict["env"]]: - known_repos.extend(confs.get("PORTDIR", '').split()) - known_repos.extend(confs.get("PORTDIR_OVERLAY", '').split()) + known_repos.extend(shlex_split(confs.get("PORTDIR", ''))) + known_repos.extend(shlex_split(confs.get("PORTDIR_OVERLAY", ''))) known_repos =3D frozenset(known_repos) =20 locations_manager.load_profiles(known_repos)