projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe1afa7
)
Avoid a TypeError with emerge -kN when there's no matching ebuild.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 27 Oct 2006 23:55:45 +0000
(23:55 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 27 Oct 2006 23:55:45 +0000
(23:55 -0000)
svn path=/main/trunk/; revision=4858
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index 32bee88b81f9988821740dbeddb969e78dea2625..a7b2b0a298dfa50ec7f9a4ed7732c2cacfa7a25e 100755
(executable)
--- a/
bin/emerge
+++ b/
bin/emerge
@@
-1269,7
+1269,10
@@
class depgraph:
mydb = None
if "--usepkgonly" not in self.myopts and myeb:
mydb = portdb
- pkgsettings.setcpv(myeb, mydb=mydb)
+ if myeb:
+ pkgsettings.setcpv(myeb, mydb=mydb)
+ else:
+ pkgsettings.setcpv(myeb_pkg, mydb=mydb)
now_use = pkgsettings["USE"].split()
forced_flags = set()
forced_flags.update(pkgsettings.useforce)