Fix broken favorites handling with --usepkg.
authorZac Medico <zmedico@gentoo.org>
Tue, 3 Jul 2007 01:18:32 +0000 (01:18 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 3 Jul 2007 01:18:32 +0000 (01:18 -0000)
svn path=/main/trunk/; revision=7133

pym/emerge/__init__.py

index 73a70584076f48f379e7d7a30e08f45ace122e85..28d36919ca824045b8ef36d48bb633d70cc29e67 100644 (file)
@@ -1483,6 +1483,8 @@ class depgraph(object):
                                                        settings=pkgsettings)
                                        if (mykey and not mykey.startswith("null/")) or \
                                                "--usepkgonly" in self.myopts:
+                                               if "--oneshot" not in self.myopts:
+                                                       myfavorites.append(mykey)
                                                arg_atoms.append((x, mykey))
                                                continue