projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88f0bd1
)
Pass more parameters to the Package constructor.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 6 Aug 2010 07:24:16 +0000
(
00:24
-0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 6 Aug 2010 07:24:16 +0000
(
00:24
-0700)
pym/_emerge/unmerge.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/unmerge.py
b/pym/_emerge/unmerge.py
index c8ad7a2eaf0c9e2bae9ad92dcb99448dbbfc98be..5b466e2d612c275d2a1261565f232e4824853655 100644
(file)
--- a/
pym/_emerge/unmerge.py
+++ b/
pym/_emerge/unmerge.py
@@
-40,9
+40,9
@@
def unmerge(root_config, myopts, unmerge_action,
def _pkg(cpv):
pkg = pkg_cache.get(cpv)
if pkg is None:
- pkg = Package(cpv=cpv, installed=True,
+ pkg = Package(
built=True,
cpv=cpv, installed=True,
metadata=zip(db_keys, vartree.dbapi.aux_get(cpv, db_keys)),
- root_config=root_config,
+
operation="uninstall",
root_config=root_config,
type_name="installed")
pkg_cache[cpv] = pkg
return pkg