Add --buildpkgonly to the options lists that exempt from
authorZac Medico <zmedico@gentoo.org>
Thu, 13 Dec 2007 21:21:33 +0000 (21:21 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 13 Dec 2007 21:21:33 +0000 (21:21 -0000)
slot collisions and world file updates.

svn path=/main/trunk/; revision=8917

pym/_emerge/__init__.py

index a6480530aa482e135629c79906a34ccb39b0f27b..22bf73f96d70265e359b49e6769460ab61a7ac27 100644 (file)
@@ -2795,7 +2795,8 @@ class depgraph(object):
 
        def _accept_collisions(self):
                acceptable = False
-               for x in ("--nodeps", "--pretend", "--fetchonly", "--fetch-all-uri"):
+               for x in ("--buildpkgonly", "--fetchonly",
+                       "--fetch-all-uri", "--nodeps", "--pretend"):
                        if x in self.myopts:
                                acceptable = True
                                break
@@ -3850,7 +3851,7 @@ class depgraph(object):
        def saveNomergeFavorites(self):
                """Find atoms in favorites that are not in the mergelist and add them
                to the world file if necessary."""
-               for x in ("--fetchonly", "--fetch-all-uri",
+               for x in ("--buildpkgonly", "--fetchonly", "--fetch-all-uri",
                        "--oneshot", "--onlydeps", "--pretend"):
                        if x in self.myopts:
                                return