From: Zac Medico Date: Sun, 1 Jul 2007 08:38:54 +0000 (-0000) Subject: Revert --buildpkgonly logic back because it was already correct. X-Git-Tag: v2.2_pre1~1105 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1377f5f8a9c5f13a6ec984501656fa344071404e;p=portage.git Revert --buildpkgonly logic back because it was already correct. svn path=/main/trunk/; revision=7110 --- diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 819919d86..475105672 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -5358,13 +5358,13 @@ def action_build(settings, trees, mtimedb, mydepgraph.display( mydepgraph.altlist(reversed=("--tree" in myopts))) if "--buildpkgonly" in myopts and \ - not mydepgraph.digraph.hasallzeros(ignore_priority=DepPriority.MEDIUM_SOFT): + not mydepgraph.digraph.hasallzeros(ignore_priority=DepPriority.MEDIUM): print "\n!!! --buildpkgonly requires all dependencies to be merged." print "!!! You have to merge the dependencies before you can build this package.\n" sys.exit(1) else: if ("--buildpkgonly" in myopts): - if not mydepgraph.digraph.hasallzeros(ignore_priority=DepPriority.MEDIUM_SOFT): + if not mydepgraph.digraph.hasallzeros(ignore_priority=DepPriority.MEDIUM): print "\n!!! --buildpkgonly requires all dependencies to be merged." print "!!! Cannot merge requested packages. Merge deps and try again.\n" sys.exit(1)