diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-06 00:24:16 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-06 00:24:16 -0700 |
commit | e7c68e7d1c53b5ece656fffae66be5a6f7c13e25 (patch) | |
tree | 39ae9f011c863c29c26cd0946071b7f693485132 | |
parent | 88f0bd14c7bf43af8732b1f31f479aa9837c04be (diff) | |
download | portage-e7c68e7d1c53b5ece656fffae66be5a6f7c13e25.tar.gz portage-e7c68e7d1c53b5ece656fffae66be5a6f7c13e25.tar.bz2 portage-e7c68e7d1c53b5ece656fffae66be5a6f7c13e25.zip |
Pass more parameters to the Package constructor.
-rw-r--r-- | pym/_emerge/unmerge.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/unmerge.py b/pym/_emerge/unmerge.py index c8ad7a2ea..5b466e2d6 100644 --- 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 |