summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/package/ebuild/doebuild.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py
index 696b65eb7..6518008f0 100644
--- a/pym/portage/package/ebuild/doebuild.py
+++ b/pym/portage/package/ebuild/doebuild.py
@@ -614,8 +614,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
# when pkg_nofetch is spawned.
have_build_dirs = False
if not parallel_fetchonly and \
- mydo not in ('digest', 'help', 'manifest') and \
- not (mydo == 'fetch' and 'fetch' not in restrict):
+ mydo not in ('digest', 'fetch', 'help', 'manifest'):
mystatus = prepare_build_dirs(myroot, mysettings, cleanup)
if mystatus:
return mystatus