summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-03 01:18:32 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-03 01:18:32 +0000
commit84f4c54f506d4a17fa087b66357e62f9db6fb015 (patch)
tree2929b5aec46304090721a7345214835ff951f47b
parentb3f88c242bbcf5ed3aaafd3b0524dcad4a8d150b (diff)
downloadportage-84f4c54f506d4a17fa087b66357e62f9db6fb015.tar.gz
portage-84f4c54f506d4a17fa087b66357e62f9db6fb015.tar.bz2
portage-84f4c54f506d4a17fa087b66357e62f9db6fb015.zip
Fix broken favorites handling with --usepkg.
svn path=/main/trunk/; revision=7133
-rw-r--r--pym/emerge/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index 73a705840..28d36919c 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -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