From: Zac Medico Date: Sat, 17 Sep 2011 17:51:26 +0000 (-0700) Subject: _RepoDisplay: split PORTDIR_OVERLAY with shlex X-Git-Tag: v2.2.0_alpha59~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c5ffb546b7833dfcefffe7c68ab3a3f040139a91;p=portage.git _RepoDisplay: split PORTDIR_OVERLAY with shlex This fixes the issue in bug #383269, comment #8. --- diff --git a/pym/_emerge/resolver/output_helpers.py b/pym/_emerge/resolver/output_helpers.py index b7e73766c..151c5050c 100644 --- a/pym/_emerge/resolver/output_helpers.py +++ b/pym/_emerge/resolver/output_helpers.py @@ -17,7 +17,7 @@ from portage._sets.base import InternalPackageSet from portage.output import blue, colorize, create_color_func, green, red, \ teal, yellow bad = create_color_func("BAD") -from portage.util import writemsg +from portage.util import shlex_split, writemsg from portage.versions import catpkgsplit from _emerge.Blocker import Blocker @@ -39,7 +39,7 @@ class _RepoDisplay(object): repo_paths.add(portdir) overlays = root_config.settings.get("PORTDIR_OVERLAY") if overlays: - repo_paths.update(overlays.split()) + repo_paths.update(shlex_split(overlays)) repo_paths = list(repo_paths) self._repo_paths = repo_paths self._repo_paths_real = [ os.path.realpath(repo_path) \