s/digraph.MEDIUM/DepPriority.MEDIUM/
authorZac Medico <zmedico@gentoo.org>
Wed, 18 Oct 2006 20:27:10 +0000 (20:27 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 18 Oct 2006 20:27:10 +0000 (20:27 -0000)
svn path=/main/trunk/; revision=4756

bin/emerge

index 0d859479d7270f0f9911c72167cd9b99ee4b3933..e995eed04ca82fd6f3a3035c7d9da9c4d9b116c0 100755 (executable)
@@ -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)