diff options
-rw-r--r-- | pym/portage/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 1f122bdf5..44a1358fe 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -3033,7 +3033,8 @@ def spawn(mystring, mysettings, debug=0, free=0, droppriv=0, sesandbox=0, fakero else: check_config_instance(mysettings) env=mysettings.environ() - keywords["opt_name"]="[%s]" % mysettings["PF"] + if mysettings.mycpv is not None: + keywords["opt_name"] = "[%s]" % mysettings.mycpv fd_pipes = keywords.get("fd_pipes") if fd_pipes is None: |