summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-18 20:27:10 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-18 20:27:10 +0000
commitf90fe7bbba7ff11d585a8d28fe74d9349f829a74 (patch)
treecc4bb1de69982576139021e0f53cdde50a3b23c7
parentba0a1dc73af8a17118bab2d119bdf31fc7bf39d6 (diff)
downloadportage-f90fe7bbba7ff11d585a8d28fe74d9349f829a74.tar.gz
portage-f90fe7bbba7ff11d585a8d28fe74d9349f829a74.tar.bz2
portage-f90fe7bbba7ff11d585a8d28fe74d9349f829a74.zip
s/digraph.MEDIUM/DepPriority.MEDIUM/
svn path=/main/trunk/; revision=4756
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 0d859479d..e995eed04 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -3936,7 +3936,7 @@ def action_build(settings, trees, mtimedb,
mydepgraph.altlist(reversed=("--tree" in myopts)))
else:
if ("--buildpkgonly" in myopts):
- if not mydepgraph.digraph.hasallzeros(ignore_priority=digraph.MEDIUM):
+ 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)